Description
docker compose run --rm <service> doesn't remove the container any more.
Steps To Reproduce
With this yaml file
services:
web:
image: nginx
Run 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-1
With 3.27.1 the container is removed as it should.
Compose Version
Docker Environment
Anything else?
No response
Description
docker compose run --rm <service>doesn't remove the container any more.Steps To Reproduce
With this yaml file
Run
docker compose run --rm web, wait for the container to start and then ctrl+cThen run
docker ps -aand you should see something likeWith 3.27.1 the container is removed as it should.
Compose Version
Docker Environment
Anything else?
No response