How to remove docker installed using wget

0 votes
I've installed docker following installation tutorial on, using wget | sh command. Now i need to remove it entirely. apt-get remove docker, apt-get --auto-remove docker, apt-get remove, apt-get --auto-remove or any other combination doesn't work, since I didn't install it using apt-get. Is there any way to remove docker faster than removing it by hand?
Jul 30, 2018 in Docker by Hannah
• 18,570 points

1 answer to this question.

0 votes

The uninstallation step mentions:

sudo apt-get purge -y docker-engine
sudo apt-get autoremove -y --purge docker-engine
sudo apt-get autoclean
sudo apt-get purge -y docker-engine docker docker-ce
sudo apt-get autoremove -y --purge docker-engine docker docker-ce
The above commands will not remove images, containers, volumes, or user created configuration files on your host. If you wish to delete all images, containers, and volumes run the following command
sudo rm -rf /var/lib/docker

Remove docker from apparmor.d:

sudo rm /etc/apparmor.d/docker

Remove docker group:

sudo groupdel docker

answered Jul 30, 2018 by Kalgi
• 52,370 points

Related Questions In Docker

0 votes
1 answer

How to remove a docker container using Ansible playbook?

Hi@akhtar, You can set the state=absent in your ...READ MORE

answered Sep 20, 2020 in Docker by MD
• 95,300 points
0 votes
1 answer

How to send docker using terraform to aws cloudwatch?

Check if you set all the permissions ...READ MORE

answered Jun 7, 2018 in Docker by DareDev
• 6,890 points
0 votes
2 answers
0 votes
1 answer

How to remove old Docker images?

Run the following command: docker $ (docker images ...READ MORE

answered Jul 17, 2018 in Docker by Sophie may
• 10,550 points
+2 votes
1 answer
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
+4 votes
4 answers

How To Access a Service on Host From a Docker Container?

Adding to kalgi's answer, You can also ...READ MORE

answered Oct 16, 2018 in Docker by lina
• 8,220 points

edited Oct 16, 2018 by lina 24,162 views
+1 vote
2 answers

How to run docker containers on different machines

You can use labels and selectors for ...READ MORE

answered Oct 23, 2018 in Docker by Laila