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 --- 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 ++++++++-------- 7 files changed, 56 insertions(+), 56 deletions(-) (limited to 'Services') 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