-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Closed
Description
Description
I tried to down one service. docker-compose down myservice killed all services instead of just the one, completely ignoring the argument I gave it.
Steps to reproduce the issue:
- Create a docker-compose.yml with 2+ services
- docker-compose up -d
- docker-compose down myservice
Describe the results you received:
# docker-compose down etcd
[+] Running 3/3
⠿ Container serviceone-1 Removed
⠿ Container servicetwo-1 Removed
⠿ Network mynetwork Removed
Describe the results you expected:
I expected it to only remove the one service. Getting an error about superfluous arguments would've been fine too.
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker compose version:
Docker Compose version v2.2.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels