Docker prune explained - usage and examples
takacsmark.com › docker-pruneOct 02, 2018 · You can use docker container prune in a bit more sophisticated way with filters. You can, for example, remove containers created more than 10 hours ago like this: ~ docker container prune --force --filter "until=10h". Get more help with the command docker container prune --help.
Prune unused Docker objects | Docker Documentation
docs.docker.com › config › pruningFor each type of object, Docker provides a prune command. In addition, you can use docker system prune to clean up multiple types of objects at once. This topic shows how to use these prune commands. Prune images. The docker image prune command allows you to clean up unused images. By default, docker image prune only cleans up dangling images. A dangling image is one that is not tagged and is not referenced by any container.