mirror of https://github.com/docker/docs.git
Incorrect build tag (#5677)
`friendlyname` should have been named `friendlyhello`
This commit is contained in:
parent
85c39551a8
commit
2ec748bb8b
|
@ -388,9 +388,9 @@ Here is a list of the basic Docker commands from this page, and some related
|
||||||
ones if you'd like to explore a bit before moving on.
|
ones if you'd like to explore a bit before moving on.
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
docker build -t friendlyname . # Create image using this directory's Dockerfile
|
docker build -t friendlyhello . # Create image using this directory's Dockerfile
|
||||||
docker run -p 4000:80 friendlyname # Run "friendlyname" mapping port 4000 to 80
|
docker run -p 4000:80 friendlyhello # Run "friendlyname" mapping port 4000 to 80
|
||||||
docker run -d -p 4000:80 friendlyname # Same thing, but in detached mode
|
docker run -d -p 4000:80 friendlyhello # Same thing, but in detached mode
|
||||||
docker container ls # List all running containers
|
docker container ls # List all running containers
|
||||||
docker container ls -a # List all containers, even those not running
|
docker container ls -a # List all containers, even those not running
|
||||||
docker container stop <hash> # Gracefully stop the specified container
|
docker container stop <hash> # Gracefully stop the specified container
|
||||||
|
|
Loading…
Reference in New Issue