From 823ea6121a26625bae21f62771a2ac28d7569fa7 Mon Sep 17 00:00:00 2001 From: xiaosuGW Date: Thu, 18 Nov 2021 18:59:42 -0600 Subject: [PATCH] upload script --- uninstall_docker.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 uninstall_docker.sh 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