Break long command to avoid cropping
Fixes docker/docker#14558 Signed-off-by: Francesc Campoy <campoy@google.com> Upstream-commit: 16b5b6e49f3ee1a327216ec9b6fe4b857f3ea7a2 Component: engine
This commit is contained in:
committed by
Francesc Campoy
parent
86c6dbe4c7
commit
fcc2624be6
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user