我在与我的码头工人群几个集装箱的问题。我试图阻止他们,但没有任何反应。每次我试图withn它们进行交互(检查,控制台,杀,RM甚至-f)没有任何反应和命令行卡住了,直到我按Ctrl + C。爆笑的是,码头工人LS显示他们是“健康的”。
重新启动搬运工服务似乎与这些类的行为通常的解决方法,但至于这是一个生产环境,有很多其他服务运行,我不能这样做。容器,服务,其他地区的栈......按预期方式工作。
是否有可能或替代方法来消除/杀死容器?
xxxxx1 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp prd_yyyy_superset_dashboard.
xxxxx2 xxxxxxx/mysql-xxxxxx:5911 "docker-entrypoint.s…" 2 months ago Up 2 months 3306/tcp prd_yyyy_api_mysql.1.
xxxxx3 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp prd_yyyy_superset_dashboard.1
泊坞窗版本17.12.0策,建立c97c6d6
更新:我只是发现有在我和相同的行为泊坞窗群更加“健康”的容器。我不能以任何方式对他们进行互动,不能杀,重新启动,检查,删除或什么都不做。他们就在那里
d7c13e9d8115 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
7137cf54fe56 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp prd_avis_superset_dashboard.1.s5x7cktaiwhv6juv6f7nmpfv6
43fe34109330 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
ccf45223b412 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
253f411cd403 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp prd_philips_superset_dashboard.1.qfyufa6flfzz0vgqebkzu1432
ff14a3967b7b amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
987f22985036 amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
27f42f0733aa kibana:5.6.11 "/docker-entrypoint.…" 2 months ago Up 2 months (healthy) 5601/tcp
b77a12659bcc amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
628842bc6e2a amancevice/superset:0.27.0 "gunicorn superset:a…" 2 months ago Up 2 months (healthy) 8088/tcp
更新2:FIX我不知道这是否是更好的办法,但最后我发现,查杀过程似乎德更简单的方法,以便能够RESTAR服务。
刚刚得到的进程ID:
# ps -ef | grep 43fe34109330
root 8789 32768 0 2018 ? 00:00:40 docker-containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/43fe3410933077a0f6c98cbbc04e4db4d2eae1b37f073059b4f76a4f8478dd15 -address /var/run/docker/containerd/docker-containerd.sock -containerd-binary /usr/bin/docker-containerd -runtime-root /var/run/docker/runtime-runc
并用它杀
#kill 8789
容器终于结束,我能够重新创建。
尝试也许杀死进程gunicorn在你的容器与码头工人,高管,即使我怀疑它会工作,如果容器被冻结。