Description
Attempting to docker compose rm a not created container fails and throws a no such service: foo-service error.
This worked fine in previous 2.x versions before 2.3.x.
Steps to reproduce the issue:
- Remove a container with
docker rm -fsv some-container
- Attempt to remove the same container again
Describe the results you received:
no such service: foo-service and non 0 exit status
Describe the results you expected:
0 exit status
Additional information you deem important (e.g. issue happens only occasionally):
Relates to #9241
Output of docker compose version:
Docker Compose version v2.3.3
Description
Attempting to
docker compose rma not created container fails and throws ano such service: foo-serviceerror.This worked fine in previous 2.x versions before 2.3.x.
Steps to reproduce the issue:
docker rm -fsv some-containerDescribe the results you received:
no such service: foo-serviceand non 0 exit statusDescribe the results you expected:
0 exit status
Additional information you deem important (e.g. issue happens only occasionally):
Relates to #9241
Output of
docker compose version: