卸载docker

卸载docker

1: yum remove docker
docker-client
docker-client-latest
docker-common
docker-latest
docker-latest-logrotate
docker-logrotate
docker-engine

2: rm -rf /etc/systemd/system/docker.service.d
rm -rf /etc/systemd/system/docker.service

3:rm -rf /var/lib/docker

4: rm -rf /var/run/docker

5: rm -rf /opt/xb

rm -rf /data/xb
rm -rf /etc/docker

6: rm -rf /lib/systemd/system/docker
rm -rf /usr/lib/systemd/system/docker
7 : yum install docker-ce docker-ce-cli containerd.io

rpm -qa|grep docker

你可能感兴趣的:(卸载docker)