删除 docker的目录报错
1.错误描述:rm: cannot remove ‘/var/lib/docker/containers’: Device or resource busy2.解决办法1.查找挂载的目录cat /proc/mounts |grep "docker"/dev/mapper/centos-root /var/lib/docker/containers xfs rw,seclabel
·
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
更多推荐
已为社区贡献1条内容
所有评论(0)