How to completely uninstall docker
Limited Time Offer!
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
Source – askubuntu.com
I followed the uninstall instructions here. Then I ran these commands:
sudo apt-get purge docker-engine
sudo apt-get autoremove --purge docker-engine
rm -rf /var/lib/docker
So after I did all this I ran this command to see if docker files are any where else:
sudo find / -name '*docker*'
I found several places where docker files still exists.
/etc
/sys
/lib
/usr
/usr
/run
/proc
/var
Docker exists in subfolders in the list above.