-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Description
Description
docker compose run --rm <service> doesn't remove the container any more.
Steps To Reproduce
With this yaml file
services:
web:
image: nginxRun docker compose run --rm web, wait for the container to start and then ctrl+c
Then run docker ps -a and you should see something like
; docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
66066872be26 nginx "/docker-entrypoint.…" 4 seconds ago Created test-web-1With 3.27.1 the container is removed as it should.
Compose Version
3.27.2
Docker Environment
DD on a mac
Anything else?
No response