devcontainers / devcontainers/cli
docker-compose do not use --project-name param to set COMPOSE_PROJECT_NAME
- Lingua principale
- TypeScript
- Stelle
- 3k
- Fork
- 457
- Merge medio
- 13h 17m
- PR unite (30g)
- 6
Descrizione
This is an issue in docker-compose but affects devcontainers: the devcontainer `use docker-compose --project-name `, but unfortunatelly and surprisingly it do not set COMPOSE_PROJECT_NAME for the compose file. The short version of that command line param behave correctly (-p).
I would recommend to change --project-name command line param usage to -p.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the devcontainer command with --project-name and compare its behavior with the equivalent -p form. Trace how the CLI passes each option to Docker Compose and verify that the long form sets COMPOSE_PROJECT_NAME for the compose file. Done means both forms produce the same project-name behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- docker, docker-compose, typescript
- Ambito
- cli, devops
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100