dockerode-compose icon indicating copy to clipboard operation
dockerode-compose copied to clipboard

Explicit naming for Docker containers in docker-compose files

Open plarson opened this issue 11 months ago • 0 comments

This changes the handling of container names to allow explicit naming in the docker-compose.yml file for projects and containers. This approach aligns with the typical usage of Docker Compose, where users often run commands like docker compose up -f path/to/docker-compose.yml without specifying a project name. The project name is already specified in the docker-compose.yml and this makes the projectName optional when instantiating the DockerodeCompose class.

plarson avatar Feb 06 '25 19:02 plarson