serversideup / ansible-collection-spin

🐳 Ship Docker Swarm to Production with Spin
https://galaxy.ansible.com/ui/repo/published/serversideup/spin/
GNU General Public License v3.0
15 stars 2 forks source link

Add Cron entry for `docker system prune` #6

Open jaydrogers opened 6 days ago

jaydrogers commented 6 days ago

Problem

Docker systems can produce a lot of clutter

Proposed solution

luchtech commented 3 days ago

Thanks you, @jaydrogers . This feature will be a huge time-saver when debugging what went wrong on our server. 😆

luchtech commented 3 days ago

I agree. The best place for this is during "spin provision" since it's outside of Docker Swarm. It also makes sense if this can be triggered right after every deployment. Whichever is simpler to implement is the better option.