一、服务器磁盘空间不足 使用docker重启重启失败 [root@oracle ~]# docker start mongo Error response from daemon: mkdir /var/lib/docker/overlay2/413d0090b35b07401e25a5cc80538da5b43f6a9da07a7e968fcc6ce53e7ecdcb/merged: no space left on device Error: failed to start containers: m1 [root@oracle ~]# df -h 查看磁盘空间使用情况 [root@oracle ~]# df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs 16G 0 16G 0% /dev/shm tmpfs 16G 18M 16G 1% /run tmpfs 16G 0 16G 0% /sys/fs/cgroup /dev/vda1 246G 246G 0 100% / tmpfs 3.1G 0 3.1G 0% /run/user/0 overlay 246G 246G 0 100% /var/lib/docker/overlay2/273096a0a7dee8519293017efb05dc710dc12332032569cba3ef5cb2df51e578/merged [root@oracle ~]# /dev/vda1 246G 246G 0 100% / 发现磁盘已经全部使用完了。需要查看容器在服务器中占用磁盘空间可看这篇查看服务器磁盘空间请用情况 https://blog.csdn.net/qq_38066812/article/details/121925360