-
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
[BUG] Warning when running docker from symlink #12412
Comments
If the name of the symlink match the name of the canonical directory then the warning disappears. |
We added this warning because the mechanism to generate project name based on local folder was creating some confusion for our users. To avoid such an ambiguity and remove this warning you can run compose with |
Closing as "not planned" as this warning is there for reasons |
But in this case adding to the compose file should also remove the warning and this is not the case |
yes indeed, this should be considered |
the challenge we will have to address here is that this sanity check takes place before compose.yaml file is loaded, and we know |
Description
We create symlinks for all our dependent projects and run
docker compose up -d
from there. This generates a lot of warnings recently, which are annoying.The docs state that you can use the
name
attribute in your compose file, but the issue still persists.Steps To Reproduce
docker-compose.yml
docker compose up -d
Compose Version
Docker Environment
Anything else?
Example
docker-compose.yml
:The text was updated successfully, but these errors were encountered: