Skip to content

Inconsistent behaviour for project name containing dots #9216

@simue

Description

@simue

Description

If your project name contains dots, the dots are going to be removed when using compose -p <project.name> up
This can be confirmed by running compose ls, where the project is then shown as
When trying to shut the project down with compose -p <project.name> down the containers are not removed correctly. If the same is done with compose -p <projectname> things seemingly are cleaned up correctly.

Steps to reproduce the issue:
see above

Describe the results you received:
containers not cleaned up

Describe the results you expected:
containers cleaned up

Additional information you deem important (e.g. issue happens only occasionally):
Didn't happen with docker compose v2.0.0-rc.3

Output of docker compose version:

Docker Compose version v2.2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions