mirror of https://github.com/CrimsonTome/tldr.git
docker-compose: add docker-compose ps(#3507)
parent
def0f8e64c
commit
e58f188c3e
|
@ -3,6 +3,10 @@
|
||||||
> Run and manage multi container docker applications.
|
> Run and manage multi container docker applications.
|
||||||
> More information: <https://docs.docker.com/compose/reference/overview/>.
|
> More information: <https://docs.docker.com/compose/reference/overview/>.
|
||||||
|
|
||||||
|
- List all running containers:
|
||||||
|
|
||||||
|
`docker-compose ps`
|
||||||
|
|
||||||
- Create and start all containers in the background using a `docker-compose.yml` file from the current directory:
|
- Create and start all containers in the background using a `docker-compose.yml` file from the current directory:
|
||||||
|
|
||||||
`docker-compose up -d`
|
`docker-compose up -d`
|
||||||
|
|
Loading…
Reference in New Issue