This project is a garbage collector for docker images and containers. It was created to alleviate the problem of old and unused containers laying around on Docker utilizing storage resources.
./bin/gcd
docker run --name gcd -v /var/run/docker.sock:/var/run/docker.sock guiferpa/gcd
gcd can be parametrized via command-line arguments and, if you're using the Docker image, by environment variables.
/var/run/docker.sock
).60
).true
).true
)./var/run/docker.sock
).60
).true
).true
).git clone https://github.com/stone-payments/gcd.git
make build
⚠️ This project uses multi-stage build to build the docker image with the included Dockerfile. Docker >=17.05 is required.
make build-image
This code is licensed under the MIT license.
Version | Tag | Published |
---|---|---|
v0.0.0-20171031024548-bb2636666868 | 1yr ago |