I’m finding that docker-compose down only kills running containers and removes running containers but leaves images. Per documentation container images are supposed to be removed as well. Is this a known issue?
1 Like
Hi,
By default, the only things removed are:
• Containers for services defined in the Compose file
• Networks defined in the networks section of the Compose file
• The default network, if one is used
If you want to remove image, use the --rmi 'all'
flag
Hope this helps.
Oops thanks not sure how i missed that Cheers