一般正常关闭: docker stop 容器ID 解决方法 方法1:强制停止docker kill 容器ID 方法2:直接重启dockersudo service docker stop 方法3:直接删除容器,重新创建docker rm -f my_container