mirror of https://github.com/docker/docs.git
Refine a paragraph of docker ps in Go and Python (#15873)
* Refine a paragraph of docker ps in Go and Python * Fix typo in paragraphs about the docker ps command
This commit is contained in:
parent
4f47fa0c82
commit
eaa8a0748b
|
@ -88,7 +88,7 @@ Hello, Docker! <3
|
|||
|
||||
## List containers
|
||||
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, we can run the `docker ps` command. Just like on Linux, to see a list of processes on your machine we would run the `ps` command. In the same spirit, we can run the `docker ps` command which will show us a list of containers running on our machine.
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, to see a list of containers running on our machine, run `docker ps`. This is similar to how the ps command is used to see a list of processes on a Linux machine.
|
||||
|
||||
```console
|
||||
$ docker ps
|
||||
|
|
|
@ -87,7 +87,7 @@ $ curl --request POST \
|
|||
|
||||
## List containers
|
||||
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, to see a list of containers running on our machine, run `docker ps`. This is similar to how ps command is used to see a list of processes on a Linux machine.
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, to see a list of containers running on our machine, run `docker ps`. This is similar to how the ps command is used to see a list of processes on a Linux machine.
|
||||
|
||||
```console
|
||||
$ docker ps
|
||||
|
|
|
@ -78,7 +78,7 @@ Hello, Docker!
|
|||
|
||||
## List containers
|
||||
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, we can run the `docker ps` command. Just like on Linux to see a list of processes on your machine, we would run the `ps` command. In the same spirit, we can run the `docker ps` command which displays a list of containers running on our machine.
|
||||
Since we ran our container in the background, how do we know if our container is running or what other containers are running on our machine? Well, to see a list of containers running on our machine, run `docker ps`. This is similar to how the ps command is used to see a list of processes on a Linux machine.
|
||||
|
||||
```console
|
||||
$ docker ps
|
||||
|
|
Loading…
Reference in New Issue