Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Add prune script because docker takes up so much space

Cette révision appartient à :
tomleb 2017-05-06 01:36:48 -04:00
Parent ded00e5ceb
révision a19e653da6

11
deploy/prune_docker.sh Fichier exécutable
Voir le fichier

@ -0,0 +1,11 @@
# Prune images and volumes
#
# Docker tends to take a lot of space. This will remove dangling images and
# volumes not used by at least container.
# WARNING: You might not want to run this if you have stuff that are dangling
# that you want to keep.
#
#!/bin/bash
docker image prune -f
docker volume prune -f