1. df -h 查看磁盘空间是否充足
  2. docker容器有问题,需要清空docker容器【操作有风险,注意备份
    docker容器位置
cd /var/lib/docker/containers

Docker containers are stored in the default location at /var/lib/docker/ on Linux. If you can identify the container and delete this, and then try to start docker. If you are successful and you can run the docker ps -a command successfully, then you can start deleting traces of this container.
Note: I would snapshot your VM before attempting to try this.

docker无响应,起不来,把对应的容器删掉,然后重启虚拟机就可以了
使用dockerd --log-level error看错误日志,尤其是在启动docker的时候,进行相应解决。只要日志不断输出,就表示docker在进行启动操作。可能启动时间比较久,要耐心等待。

Logo

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

更多推荐