I had installed docker in ubuntu 18 and now wants to remove everything for a clean install. Had used : sudo apt-get install docker.io
This stackoverflow thread (though not meant for my exact installation) has a part-solution: docker remove answer
The only problem is that it doesn't mention how to remove other remaining docker files after running find / -name '*docker*'
. There are so many in my system! screenshot_1 after "find / -name docker " >> screenshot_2 after "find / -name docker "
Additionally, I am looking for simple, hassle-free steps to install opensourcePOS on ubuntu 18 (Local deploy) git osPOS . The ones on git and osPOS website are for advanced users I guess - they leave a lot of details. Any links?
Try:
sudo apt-get purge -y docker.io
sudo apt-get autoremove -y --purge docker.io
sudo apt-get autoclean
sudo rm -rf /var/lib/docker
sudo rm -rf /etc/docker
sudo rm /etc/apparmor.d/docker
sudo apt-get purge runc containerd docker.io