We have a DAG to run docker system prune every day, cleaning up old versions of images as well as stopped containers. This is not actually doing what we expect. Resolving #103 will address containers for failed scrapes, so let's focus on clearing out old images.
I'm a bit at a loss as to why the DAG is not working, but a stopgap we could achieve quickly is to run docker system prune from a cron, instead.
We have a DAG to run
docker system prune
every day, cleaning up old versions of images as well as stopped containers. This is not actually doing what we expect. Resolving #103 will address containers for failed scrapes, so let's focus on clearing out old images.I'm a bit at a loss as to why the DAG is not working, but a stopgap we could achieve quickly is to run
docker system prune
from a cron, instead.