This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "WARN: This will remove everything from docker: volumes, containers and images. Will you dare? [y/N] " | |
read choice | |
if [ \( "$choice" == "y" \) -o \( "$choice" == "Y" \) ] | |
then | |
sudo echo "> sudo rights [OK]" | |
sizea=`sudo du -sh /var/lib/docker/aufs` |