🐳 Regularly run docker system prune under crond
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
docker-compose.yml
rancher-compose.yml
root.cron

README.md

docker-system-prune-crond

🐳 Regularly run docker system prune under crond

Usage

Build

$ docker build -t flaccid/docker-system-prune-crond .

Run

$ docker run \
    -it \
    --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
      flaccid/docker-system-prune-crond

Push

$ docker push flaccid/docker-system-prune-crond