mirror of https://github.com/docker/docs.git
parent
c2ff6bf292
commit
0c654c5aac
|
@ -104,7 +104,7 @@ CONTAINER ID IMAGE COMMAND CREATED
|
|||
|
||||
## Stop, start, and name containers
|
||||
|
||||
You can start, stop, and restart Docker containers. When we stop a container, it is not removed, but the status is changed to stopped and the process inside the container is stopped. When we ran the `docker ps` command in the previous ,module, the default output only shows running containers. When we pass the `--all` or `-a` for short, we see all containers on our machine, irrespective of their start or stop status.
|
||||
You can start, stop, and restart Docker containers. When we stop a container, it is not removed, but the status is changed to stopped and the process inside the container is stopped. When we ran the `docker ps` command in the previous module, the default output only shows running containers. When we pass the `--all` or `-a` for short, we see all containers on our machine, irrespective of their start or stop status.
|
||||
|
||||
```shell
|
||||
$ docker ps -a
|
||||
|
|
Loading…
Reference in New Issue