mirror of https://github.com/CrimsonTome/tldr.git
docker compose: run specifying a project name (#10596)
parent
75a19d64d7
commit
9375f43e37
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
`docker compose up --build`
|
`docker compose up --build`
|
||||||
|
|
||||||
- Inicia todos los contenedores usando un archivo compose alternativo:
|
- Inicia todos los contenedores especificando un nombre de proyecto y usando un archivo compose alternativo:
|
||||||
|
|
||||||
`docker compose --file {{ruta/al/directorio}} up`
|
`docker compose -p {{nombre_de_proyecto}} --file {{ruta/al/directorio}} up`
|
||||||
|
|
||||||
- Detiene todos los contenedores en ejecución:
|
- Detiene todos los contenedores en ejecución:
|
||||||
|
|
||||||
|
|
|
@ -15,9 +15,9 @@
|
||||||
|
|
||||||
`docker compose up --build`
|
`docker compose up --build`
|
||||||
|
|
||||||
- Start all containers using an alternate compose file:
|
- Start all containers by specifying a project name and using an alternate compose file:
|
||||||
|
|
||||||
`docker compose --file {{path/to/file}} up`
|
`docker compose -p {{project_name}} --file {{path/to/file}} up`
|
||||||
|
|
||||||
- Stop all running containers:
|
- Stop all running containers:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue