Created
September 12, 2019 10:16
-
-
Save pwilken/c4691bd0755a12e89303dd3938e4bdcc to your computer and use it in GitHub Desktop.
cleanup-docker.sh
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
dpkg -l | grep -i docker | |
sudo apt-get purge -y docker-engine docker docker.io docker-ce | |
sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce | |
sudo rm -rf /var/lib/docker /etc/docker | |
sudo rm /etc/apparmor.d/docker | |
sudo groupdel docker | |
sudo rm -rf /var/run/docker.sock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment