Automatically cleans your unused docker images, volumes, containers.
DockCleaner will clean up your unused docker images,
Dockupdater is deployed via docker image in a standalone container like so:
docker container run \
--name="dock-cleaner" \
-d \
--restart unless-stopped \
-v /var/run/docker.sock:/var/run/docker.sock \
lithasan/dockcleaner:latest
This is image is compatible for amd64, arm32, and arm64 CPU architectures
DockCleaner can be deploy on a service like this:
version: "3.6"
services:
dockupdater:
image: lithasan/dockcleaner:latest
deploy:
placement:
constraints:
- node.role == manager
Dockupdater needs to run on a manager node