Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Portainer 连接到容器的终端,但有时我忘记exit更改页面或关闭浏览器。进程列表将不断增长,直到我停止容器并重新启动它。在下图中,您可以从入口点看到 ash和tail左运行以及正常运行。java
exit
sh
tail
java
有什么方法可以杀死这些进程(不是 corse 的 CMD)?已经尝试kill -9从容器内部,但他们说找不到 PID。
kill -9