#!/bin/bash
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
systemctl stop docker.service containerd.service docker.socket
systemctl disable docker.service containerd.service docker.socket
rm -rf /usr/local/lib/docker/cli-plugins/docker-compose /usr/lib/docker/cli-plugins/docker-compose
rm -rf /etc/docker
rm /usr/bin/docker /usr/bin/dockerd /usr/bin/docker-init /usr/bin/docker-proxy /usr/bin/containerd /usr/bin/containerd-shim-runc-v2
rm /etc/systemd/system/docker.socket /etc/systemd/system/docker.service /etc/systemd/system/containerd.service
