Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m0zgen/docker-prune
⚙️ Script for docker cleanup and prune
https://github.com/m0zgen/docker-prune
Last synced: 20 days ago
JSON representation
⚙️ Script for docker cleanup and prune
- Host: GitHub
- URL: https://github.com/m0zgen/docker-prune
- Owner: m0zgen
- Created: 2023-06-09T16:04:09.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-06-09T16:08:08.000Z (over 1 year ago)
- Last Synced: 2024-11-30T01:46:48.817Z (23 days ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Prune
Docker periodically are using system storage:
```shell
du -sh /var/*
..
33G /var/lib
..
```Script contains few commands which can try to clean old containers and etc..
In short:
```shell
docker system prune -a
docker volume prune
docker image prune --all
docker builder prune --all
docker buildx prune --all
```