From 472985c09c9918c8fef7e649776371c3b5d2171b Mon Sep 17 00:00:00 2001 From: startxfr Date: Thu, 20 Nov 2014 11:37:39 +0100 Subject: modif de code example dans les readme --- OS/Fedora/README.md | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'OS') diff --git a/OS/Fedora/README.md b/OS/Fedora/README.md index 5242eac..0e3317d 100644 --- a/OS/Fedora/README.md +++ b/OS/Fedora/README.md @@ -2,27 +2,30 @@ 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 * 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 fedora OS/Fedora/ +docker build -t fedora OS/Fedora/ ``` ### Running local image - - docker run -it --name="fedora" startx/fedora bash - +``` +docker run -it --name="fedora" startx/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) -- cgit v1.2.3