diff --git a/uninstall_docker.sh b/uninstall_docker.sh new file mode 100755 index 0000000..cdf8192 --- /dev/null +++ b/uninstall_docker.sh @@ -0,0 +1,6 @@ +sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli +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