Forum breadcrumbs – You are here:Tracston Community Forum – DevOps, Micro Services, Cloud, Infrastructure, Development, Monitoring and more…DevOps / Micro Services / Automation: DockerDelete Exited containers and old …
You need to log in to create posts and topics.
Delete Exited containers and old image
moshe@moshe
#1 · 31/05/2022, 8:22 pm
Quote from moshe on 31/05/2022, 8:22 pmProblem
User wants to remove old containers and images
Solution
run the following command
docker system prune -a
run automatically via cron
0 10 * * 2 yes | docker system prune -a
Problem
User wants to remove old containers and images
Solution
run the following command
docker system prune -a
run automatically via cron
0 10 * * 2 yes | docker system prune -a
Click for thumbs down.0Click for thumbs up.0