docker错误:Error response from daemon: cannot stop container

今天在停止一个docker容器的时候,报了一个错误,错误内容如下:

Error response from daemon: cannot stop container: d3ddf33c1450: Cannot kill container d3ddf33c14505241a71f6f23d74bab3156047d1b0de72f61ea872ec29bd4a87a: unknown error after kill: docker-runc did not terminate sucessfully: container_linux.go:393: signaling init process caused “permission denied” : unknown

docker错误:Error response from daemon: cannot stop container_第1张图片
找了一下,发现可以用如下命令来解决

aa-remove-unknown

这样再停止容器就可以了

docker stop 

docker错误:Error response from daemon: cannot stop container_第2张图片

但是具体的产生的原因还是不明白在哪,而且重新start容器,stop后还是出现开头的错误,又得aa-remove-unknown后才能stop,先做个记录

你可能感兴趣的:(ubuntu)