docker-cleanup-volumes
docker-cleanup-volumes copied to clipboard
Shellscript to delete orphaned docker volumes
FYI I ran your dockerized script but it kept outputting the below "grep" warning about "recursive directory loop". Probably nothing for you to do as a fix, just posting in...
Signed-off-by: Boris HUISGEN [email protected]
regarding: https://github.com/chadoe/docker-cleanup-volumes/blob/master/docker-cleanup-volumes.sh#L62 Maybe this should just be an echo warning in case of access-denied errors.
Use a separate shellscript for doing the same job but for boot2docker environments (currently only tested on MacOS..). See the updated README for more usage details.
docker@boot2docker:~$ sh docker-cleanup-volumes.sh docker-cleanup-volumes.sh: line 10: syntax error: unexpected "(" docker@boot2docker:~$