Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Docker on ubuntu 18

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?

like image 857
user3087182 Avatar asked Jun 29 '26 09:06

user3087182


1 Answers

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
like image 151
D. Vinson Avatar answered Jun 30 '26 21:06

D. Vinson