From 51c43e2acac22ab2ae43ec88785c46edc8c9f8c8 Mon Sep 17 00:00:00 2001 From: Robin Date: Sun, 18 Nov 2018 11:29:50 +0100 Subject: [PATCH] devops / docker : Fix syntax and style (#22202) --- guide/english/devops/docker/index.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/guide/english/devops/docker/index.md b/guide/english/devops/docker/index.md index 58fc765ca0..87d1875485 100644 --- a/guide/english/devops/docker/index.md +++ b/guide/english/devops/docker/index.md @@ -91,9 +91,14 @@ The Docker daemon is what actually executes commands sent to the Docker Client ### Dockerfile A Dockerfile is where you write the instructions to build a Docker image. These instructions can be: -**RUN apt-get y install some-package**: to install a software package -**EXPOSE 8000**: to expose a port -**ENV ANT_HOME /usr/local/apache-ant** to pass an environment variable and so forth. Once you’ve got your Dockerfile set up, you can use the docker build command to build an image from it. Here’s an example of a Dockerfile: + + * **RUN apt-get -y install some-package**: to install a software package + * **EXPOSE 8000**: to expose a port + * **ENV ANT_HOME /usr/local/apache-ant** to pass an environment variable and so forth. + +Once you’ve got your Dockerfile set up, you can use the docker build command to build an image from it. + +Here’s an example of a Dockerfile: ``` # Start with ubuntu 14.04