docker / compose

Define and run multi-container applications with Docker
https://docs.docker.com/compose/
Apache License 2.0
32.97k stars 5.1k forks source link

feat(watch): Add --prune option to docker-compose watch command #11932

Closed idsulik closed 1 day ago

idsulik commented 1 week ago

What I did Added the --prune option to the docker-compose watch command. This option ensures that dangling images are pruned automatically when rebuilding, helping to keep the Docker environment clean and efficient.

Related issue https://github.com/docker/compose/issues/11073

image

idsulik commented 1 day ago

LGTM, thanks @idsulik for the contributions 🙏 You'll need to run make docs to pass the linter

@glours thank you, pushed updates