1.错误描述:
rm: cannot remove ‘/var/lib/docker/containers’: Device or resource busy

2.解决办法

1.查找挂载的目录
cat /proc/mounts |grep "docker"

/dev/mapper/centos-root /var/lib/docker/containers xfs rw,seclabel,relatime,attr2,inode64,no
quota 0 0

2.卸载
umount /var/lib/docker/containers

Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐