From 2bba43f9520b8ae501eb2cccb4646b10f78d1929 Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:43:25 +0100 Subject: modif de code example dans les readme --- OS/Fedora/README.md | 17 ++++++++--------- Services/apache/README.md | 15 ++++++++------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md index 0e3317d..f4609ec 100644 --- a/OS/Fedora/README.md +++ b/OS/Fedora/README.md @@ -2,9 +2,9 @@ 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 @@ -19,13 +19,12 @@ git clone https://github.com/startxfr/docker-images.git . docker build -t fedora OS/Fedora/ ``` ### Running local image -``` -docker run -it --name="fedora" startx/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/apache/README.md b/Services/apache/README.md index bf3dfce..7164abc 100644 --- a/Services/apache/README.md +++ b/Services/apache/README.md @@ -8,14 +8,15 @@ 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 . - +``` +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/ +``` +docker build -t sv-apache Services/apache/ +``` ### Running local image -- cgit v1.2.3