1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Break long command to avoid cropping

Fixes docker/docker#14558

Signed-off-by: Francesc Campoy <campoy@google.com>
This commit is contained in:
Francesc Campoy 2015-08-03 18:21:54 -07:00 committed by Francesc Campoy
parent dff25c9e46
commit 16b5b6e49f

View file

@ -345,7 +345,8 @@ The next exercise demonstrates how to do this.
5. Start a new `nginx` container and replace the `html` folder with your `site` directory.
$ docker run -d -P -v $HOME/site:/usr/share/nginx/html --name mysite nginx
$ docker run -d -P -v $HOME/site:/usr/share/nginx/html \
--name mysite nginx
6. Get the `mysite` container's port.