mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Avoid history expansion.
Docker-DCO-1.1-Signed-off-by: Jeff Welch <whatthejeff@gmail.com> (github: whatthejeff)
This commit is contained in:
parent
e2fce7d612
commit
052ad32a7b
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@ application inside a container takes a single command: `docker run`.
|
|||
|
||||
Let's try it now.
|
||||
|
||||
$ sudo docker run ubuntu:14.04 /bin/echo "Hello World!"
|
||||
$ sudo docker run ubuntu:14.04 /bin/echo 'Hello World!'
|
||||
Hello World!
|
||||
|
||||
And you just launched your first container!
|
||||
|
@ -34,7 +34,7 @@ image registry: [Docker Hub](https://hub.docker.com).
|
|||
|
||||
Next we told Docker what command to run inside our new container:
|
||||
|
||||
/bin/echo "Hello World!"
|
||||
/bin/echo 'Hello World!'
|
||||
|
||||
When our container was launched Docker created a new Ubuntu 14.04
|
||||
environment and then executed the `/bin/echo` command inside it. We saw
|
||||
|
|
Loading…
Reference in a new issue