From 2b1096083c946435343043eebd5d717fd67e5b9e Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:48:45 +0100 Subject: modif de code example dans les readme --- Applications/phpmyadmin/README.md | 16 ++++++++-------- Applications/rockmongo/README.md | 16 ++++++++-------- OS/Fedora/README.md | 7 +++---- Services/mariadb/README.md | 16 ++++++++-------- Services/memcache/README.md | 16 ++++++++-------- Services/mongo/README.md | 16 ++++++++-------- Services/nodejs/README.md | 16 ++++++++-------- Services/php/README.md | 16 ++++++++-------- Services/postgres/README.md | 16 ++++++++-------- Services/ssh/README.md | 16 ++++++++-------- 10 files changed, 75 insertions(+), 76 deletions(-) diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md index 3079538..3b023ac 100644 --- a/Applications/phpmyadmin/README.md +++ b/Applications/phpmyadmin/README.md @@ -7,15 +7,15 @@ This container run phpMyAdmin on PHP server running under a fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t startx/app-pma Applications/phpmyadmin/ - +``` +docker build -t startx/app-pma Applications/phpmyadmin/ +``` ### Running local image docker run -d -p 80:80 --name="pma" startx/app-pma diff --git a/Applications/rockmongo/README.md b/Applications/rockmongo/README.md index 6eb6770..74049d0 100644 --- a/Applications/rockmongo/README.md +++ b/Applications/rockmongo/README.md @@ -7,15 +7,15 @@ This container run Rockmongo on PHP server running under a fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t startx/app-rockmongo Applications/rockmongo/ - +``` +docker build -t startx/app-rockmongo Applications/rockmongo/ +``` ### Running local image docker run -d -p 80:80 --name="rockmongo" startx/app-rockmongo diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md index f4609ec..cf3429d 100644 --- a/OS/Fedora/README.md +++ b/OS/Fedora/README.md @@ -3,8 +3,7 @@ Fedora image builded with minimal and updated binaries ## Running from docker registry - docker run -it --name="fedora" startx/fedora - + docker run -it --name="fedora" startx/fedora ## Build and run from local Dockerfile ### Building docker image @@ -20,11 +19,11 @@ docker build -t fedora OS/Fedora/ ``` ### Running local image - docker run -it --name="fedora" fedora bash + docker run -it --name="fedora" fedora bash ## Accessing server - docker run -it startx/fedora bash + docker run -it startx/fedora bash ## Related Resources * [Sources files](https://github.com/startxfr/docker-images/tree/master/Services/fedora) diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md index a0c1e48..a550535 100644 --- a/Services/mariadb/README.md +++ b/Services/mariadb/README.md @@ -11,15 +11,15 @@ This container run mariadb on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-mariadb Services/mariadb/ - +``` +docker build -t sv-mariadb Services/mariadb/ +``` ### Running local image docker run -d -p 3306:3306 --name="mariadb" sv-mariadb diff --git a/Services/memcache/README.md b/Services/memcache/README.md index 13df4d9..dd6de63 100644 --- a/Services/memcache/README.md +++ b/Services/memcache/README.md @@ -11,15 +11,15 @@ This container run memcached on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-memcache Services/memcache/ - +``` +docker build -t sv-memcache Services/memcache/ +``` ### Running local image docker run -d -p 3306:3306 --name="memcache" sv-memcache diff --git a/Services/mongo/README.md b/Services/mongo/README.md index ae5d542..d866d9b 100644 --- a/Services/mongo/README.md +++ b/Services/mongo/README.md @@ -11,15 +11,15 @@ This container run mongod on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-mongo Services/mongo/ - +``` +docker build -t sv-mongo Services/mongo/ +``` ### Running local image docker run -d -p 27017:27017 --name="mongo" sv-mongo diff --git a/Services/nodejs/README.md b/Services/nodejs/README.md index 772bdf9..ed110c5 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -8,15 +8,15 @@ This container run nodejs on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-nodejs Services/nodejs/ - +``` +docker build -t sv-nodejs Services/nodejs/ +``` ### Running local image docker run -d -p 8000:8000 --name="nodejs" sv-nodejs diff --git a/Services/php/README.md b/Services/php/README.md index 461e6a0..93e401f 100644 --- a/Services/php/README.md +++ b/Services/php/README.md @@ -8,15 +8,15 @@ This container run php via apache on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-php Services/php/ - +``` +docker build -t sv-php Services/php/ +``` ### Running local image docker run -d -p 80:80 --name="php" sv-php diff --git a/Services/postgres/README.md b/Services/postgres/README.md index cc6366a..a26ae4e 100644 --- a/Services/postgres/README.md +++ b/Services/postgres/README.md @@ -11,15 +11,15 @@ This container run postgres on fedora server. ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-postgres Services/postgres/ - +``` +docker build -t sv-postgres Services/postgres/ +``` ### Running local image docker run -d -p 5432:5432 --name="postgres" sv-postgres diff --git a/Services/ssh/README.md b/Services/ssh/README.md index a753c27..c6422c3 100644 --- a/Services/ssh/README.md +++ b/Services/ssh/README.md @@ -8,15 +8,15 @@ This container run sshd on fedora server. You can overwrite /root/.ssh/autorized ## Build and run from local Dockerfile ### Building docker image * Copy sources in your docker host - - mkdir startx-docker-images; - cd startx-docker-images; - git clone https://github.com/startxfr/docker-images.git . - +``` +mkdir startx-docker-images; +cd startx-docker-images; +git clone https://github.com/startxfr/docker-images.git . +``` * Build the container - - docker build -t sv-ssh Services/ssh/ - +``` +docker build -t sv-ssh Services/ssh/ +``` ### Running local image docker run -d -p 22022:22 --name="ssh" sv-ssh -- cgit v1.2.3