Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

安装 secretpad 时,无法执行 docker rm -f #160

Closed
yewq opened this issue Nov 12, 2024 · 2 comments
Closed

安装 secretpad 时,无法执行 docker rm -f #160

yewq opened this issue Nov 12, 2024 · 2 comments

Comments

@yewq
Copy link

yewq commented Nov 12, 2024

Issue Type

Install/Deploy

Have you searched for existing documents and issues?

Yes

OS Platform and Distribution

ubuntu 24.04

All_in_one Version

v1.10.0

Module type

secretpad

Module version

secretpad-0.11.0b0.tar

What happend and What you expected to happen.

$ sudo ./install.sh master
......
[INFO] generate webserver server key done
[INFO] copy kuscia api client certs ...
Successfully copied 2.05kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/token
Successfully copied 3.07kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/ca.crt
Successfully copied 2.56kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/client.crt
Successfully copied 3.58kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/client.pem
Successfully copied 16.4kB to root-kuscia-dummy:/tmp/temp/
[INFO] Copy kuscia api client certs to web server container done
Successfully copied 3.07kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/alice/ca.crt
Successfully copied 2.56kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/alice/client.crt
Successfully copied 3.58kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/alice/client.pem
Successfully copied 2.05kB to /root/kuscia/master/secretpad/kuscia-system/temp/certs/alice/token
Successfully copied 8.7kB to root-kuscia-dummy:/tmp/temp/
Error response from daemon: Could not kill running container c98c03730d3f2a5d04884c6d77cb642b7f123ea8347ea17e875c99241836e370, cannot remove - container c98c03730d3f PID 222484 is zombie and can not be killed. Use the --init option when creating containers to run an init inside the container that forwards signals and reaps processes
  • 运行一体化安装,在安装 secretpad 的 copy_kuscia_api_lite_client_certs 函数报错
  • 具体出错行为 docker rm -f "${KUSCIA_CTR_PREFIX}"-dummy
  • docker 版本为 Ubuntu 发行版打包:
$ docker --version
Docker version 24.0.7, build 24.0.7-0ubuntu4.1
@BrainWH
Copy link

BrainWH commented Nov 13, 2024

1、尝试杀掉日志中提示的僵尸进程:kill -9 222484, 然后强制删除该容器docker rm -f c98c03730d3f
2、如果仍无法删除,尝试重启docker服务

@BrainWH
Copy link

BrainWH commented Jan 15, 2025

看到您长期未回复,这边先关闭了,后续有问题可以提新的 issue

@BrainWH BrainWH closed this as completed Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants