docker stop container 报错:tried to kill container, but did not receive an exit event
问题现象 执行docker stop xxxx报错如下: Error response from daemon: cannot stop container: xxxx: tried to kill container, but did not receive an exit event 执行下面命令重启docker,发现container依旧在,依旧无法停止。 systemctl restart docker 解决方案 通过docker ps查看container。 通过下面命令查找ps awx | grep containerd-shim | grep <container_id>操作系统中的进程id。 使用kill -9 xxx将上一步查找到的进程ip杀掉。 使用docker rm xxxx删除当前container。 按照之前创建container的方式创建container。 原因 未知,不懂。