Initial settings:
Type | High water mark | Low water mark |
Images | 20GB | 10GB |
Volumes | 20GB | 10GB |
Sample run command
docker run \ --rm \ -v /var/run/docker.sock:/var/run/docker.sock \ -v docker-gc:/state \ docker-registry.wikimedia.org/docker-gc:1.0.0 \ gc --state-file /state/state.json --image-filter 'id=~.*' --images 20g:10g --volumes 20g:10g