docker stop container 報錯:tried to kill container, but did not receive an exit event
問(wèn)題現象 執行docker stop xxxx報錯如下: Error response from daemon: cannot stop container: xxxx: tried to kill container, but did not receive an exit event 執行下面命令重啟docker,發(fā)現container依舊在,依舊無(wú)法停止。 systemctl restart docker 解決方案 通過(guò)docker ps查看container。 通過(guò)下面命令查找ps awx | grep containerd-shim | grep <container_id>操作系統中的進(jìn)程id。 使用kill -9 xxx將上一步查找到的進(jìn)程ip殺掉。 使用docker rm xxxx刪除當前container。 按照之前創(chuàng )建container的方式創(chuàng )建container。 原因 未知,不懂。