Last active
September 15, 2017 19:58
-
-
Save efrecon/158172d7c0b53c33369c411e0c6c3831 to your computer and use it in GitHub Desktop.
Entirely clean away docker from a Ubuntu system
This file contains 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
sudo apt-get purge -y docker-ce | |
sudo apt-get autoremove -y --purge docker-ce | |
sudo apt-get autoclean | |
sudo rm -rf /var/lib/docker | |
sudo find /var -name '*docker*' -print -exec rm -rf \{\} \; | |
sudo find /etc -name '*docker*' -print -exec rm -rf \{\} \; | |
sudo find /run -name '*docker*' -print -exec rm -rf \{\} \; | |
echo "Done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment