docker 命令无响应的排查思路

  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无响应,起不来,把对应的容器删掉,然后重启虚拟机就可以了

你可能感兴趣的:(docker,容器,运维)