9月 262019
 

关于容器中已经没有了进程,但是容器还是杀不死的情况:

用bash作为初始进程启动了一个容器:

然后,在bash中cat了一个二进制文件:

如此,bash卡死,不能操作了,可能是因为转码没有处理好导致的。

docker top时已经看不到容器中存在任何进程了,但是docker run进程依然存在

docker stop操作也不能停掉容器。

 

原因在于:

就是说,docker run进程向/dev/pts/0 write的时候,阻塞住了,这就和pts有关了

 

解决办法,kill -9 22784

 Posted by at 上午 10:28

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

(required)

(required)

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据