-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSX container name format incorrect #8808
Comments
You’re not using the same compose version on both platforms. 😁 This behaviour is intentional, see #8655 |
They are both on ComposeV2, maybe its worth documenting somewhere that the name format is changing? Like here: https://docs.docker.com/compose/cli-command/ |
I updated my windows install to to |
That is a good suggestion. We have a list of changes from V1 to V2 like that one to publish, we really need to do it. |
Description
On MacOS container names are in the incorrect format, containing a
-
instead of an_
<project>_<service>_<index>_<slug>
Steps to reproduce the issue:
docker compose up
(On OSX)docker compose up
(On Windows)Describe the results you received:
Containers on OSX contain
-
separator.Containers on Windows contain
_
separator.Describe the results you expected:
Name format should be the same for all platforms.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker compose version
:Windows:
Docker Compose version v2.0.0-rc.3
OSX:
Docker Compose version v2.0.0
Output of
docker info
:Windows:
OSX:
Additional environment details:
Windows OS:
10
Mac OSX:
Big Sur
The text was updated successfully, but these errors were encountered: