-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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] With -p
option, down
stops and removes all containers regardless of config files
#9918
Comments
I'm sorry to bother you when you're busy. Sincerely. |
Hey @yokonao The PR you opened can't be merged as it will remove the capability to down a stack with only the name of the Compose project (imagine if you removed your project directory or you compose file, you can't stop the stack via Compose) But I get your point of being able to use Anyway there is a solution to unblock you, if you use |
Hi! @glours I understood that using I would like to confirm, but even if I use |
@yokonao you're right, using |
Great! I expect your work.
Sure. I closed my pull request. |
This has been fixed by #9375 |
Description
Premise
Summary
After creation multiple containers, trying to down the one side leads all containers being stopped and removed!
In detail, please refer to
Steps to Reproduce
.Expected
Only one container is to be stopped. (As Docker Compose V1 is like that)
Steps To Reproduce
mysql.yml
andredis.yml
)-p
option.Compose Version
Docker Environment
Anything else?
This issue is related to #9554.
But, the above is incomplete and not accourding to
CONTRIBUTING.md
. So, I recreated.A similar bug occurs with other commands (e.g.
stop
orkill
)P.S.
This bug is an obstacle for migration to V2.
The text was updated successfully, but these errors were encountered: