Cleanup unused docker images, containers or volumes
640
This service run docker $cmd prune command that allow automatic cleanup on docker.
By default the following object cmd are pruned:
You can run this service on a swarm to cleanup the system disk usage.
To cleanup containers:
$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock liske/docker-prune container
To cleanup images:
$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock liske/docker-prune image
To cleanup volumes:
$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock liske/docker-prune volume
To cleanup network:
$ docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock liske/docker-prune network
Content type
Image
Digest
Size
48.6 MB
Last updated
over 7 years ago
docker pull luizeof/cleanup