From 946f2a44ee81ac21b0d2f66661cc93fe320dbd58 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 12:45:46 +0100 Subject: modif de code example dans les readme --- Applications/phpmyadmin/README.md | 20 ++++++++++---------- Applications/rockmongo/README.md | 20 ++++++++++---------- OS/Fedora/README.md | 20 ++++++++++---------- Services/apache/README.md | 20 ++++++++++---------- Services/mariadb/README.md | 20 ++++++++++---------- Services/memcache/README.md | 20 ++++++++++---------- Services/mongo/README.md | 20 ++++++++++---------- Services/nodejs/README.md | 20 ++++++++++---------- Services/php/README.md | 20 ++++++++++---------- Services/postgres/README.md | 20 ++++++++++---------- Services/ssh/README.md | 20 ++++++++++---------- 11 files changed, 110 insertions(+), 110 deletions(-) diff --git a/Applications/phpmyadmin/README.md b/Applications/phpmyadmin/README.md index 3b023ac..2670059 100644 --- a/Applications/phpmyadmin/README.md +++ b/Applications/phpmyadmin/README.md @@ -6,16 +6,16 @@ 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 . -``` -* Build the container -``` -docker build -t startx/app-pma Applications/phpmyadmin/ -``` +Copy sources in your docker host + + 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/ + ### 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 74049d0..d4a9773 100644 --- a/Applications/rockmongo/README.md +++ b/Applications/rockmongo/README.md @@ -6,16 +6,16 @@ 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 . -``` -* Build the container -``` -docker build -t startx/app-rockmongo Applications/rockmongo/ -``` +Copy sources in your docker host + + 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/ + ### 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 cf3429d..e6f3ac1 100644 --- a/OS/Fedora/README.md +++ b/OS/Fedora/README.md @@ -7,16 +7,16 @@ Fedora image builded with minimal and updated binaries ## 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 . -``` -* Build the container -``` -docker build -t fedora OS/Fedora/ -``` +Copy sources in your docker host + + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + +Build the container + + docker build -t fedora OS/Fedora/ + ### Running local image docker run -it --name="fedora" fedora bash diff --git a/Services/apache/README.md b/Services/apache/README.md index 7164abc..2839ad5 100644 --- a/Services/apache/README.md +++ b/Services/apache/README.md @@ -7,16 +7,16 @@ This container run 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 . -``` -* Build the container -``` -docker build -t sv-apache Services/apache/ -``` +Copy sources in your docker host + + mkdir startx-docker-images; + cd startx-docker-images; + git clone https://github.com/startxfr/docker-images.git . + +Build the container + + docker build -t sv-apache Services/apache/ + ### Running local image diff --git a/Services/mariadb/README.md b/Services/mariadb/README.md index a550535..c8ff816 100644 --- a/Services/mariadb/README.md +++ b/Services/mariadb/README.md @@ -10,16 +10,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-mariadb Services/mariadb/ -``` +Copy sources in your docker host + + 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/ + ### 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 dd6de63..0053b9d 100644 --- a/Services/memcache/README.md +++ b/Services/memcache/README.md @@ -10,16 +10,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-memcache Services/memcache/ -``` +Copy sources in your docker host + + 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/ + ### 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 d866d9b..fa40312 100644 --- a/Services/mongo/README.md +++ b/Services/mongo/README.md @@ -10,16 +10,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-mongo Services/mongo/ -``` +Copy sources in your docker host + + 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/ + ### 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 ed110c5..6045051 100644 --- a/Services/nodejs/README.md +++ b/Services/nodejs/README.md @@ -7,16 +7,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-nodejs Services/nodejs/ -``` +Copy sources in your docker host + + 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/ + ### 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 93e401f..74bdae3 100644 --- a/Services/php/README.md +++ b/Services/php/README.md @@ -7,16 +7,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-php Services/php/ -``` +Copy sources in your docker host + + 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/ + ### 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 a26ae4e..9268f9d 100644 --- a/Services/postgres/README.md +++ b/Services/postgres/README.md @@ -10,16 +10,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-postgres Services/postgres/ -``` +Copy sources in your docker host + + 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/ + ### 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 c6422c3..efd96f1 100644 --- a/Services/ssh/README.md +++ b/Services/ssh/README.md @@ -7,16 +7,16 @@ 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 . -``` -* Build the container -``` -docker build -t sv-ssh Services/ssh/ -``` +Copy sources in your docker host + + 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/ + ### Running local image docker run -d -p 22022:22 --name="ssh" sv-ssh -- cgit v1.2.1