docker compose: run specifying a project name (#10596)

pull/23/head
Luis Quiñones 2023-08-20 09:13:48 -06:00 committed by GitHub
parent 75a19d64d7
commit 9375f43e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -15,9 +15,9 @@
`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:

View File

@ -15,9 +15,9 @@
`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: