yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-selinux \
docker-engine-selinux \
docker-engine
rm -rf /etc/systemd/system/docker.service.d
rm -rf /var/lib/docker
rm -rf /var/run/docker
1、查看mount挂载
mount
2、umount容器挂载
umount
3、测试删除/var/lib/docker目录
rm -rf /var/lib/docker
----------------------------------------------------------------------------------
如果还是不行,则用下面方法
1、查看docker进程
grep docker /proc/*/mountinfo(其中*代表进程号)
2、kill进程
kill 进程号