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

重启了一下机器 容器起不来了 #17

Closed
johnsonwong666 opened this issue Mar 13, 2024 · 2 comments
Closed

重启了一下机器 容器起不来了 #17

johnsonwong666 opened this issue Mar 13, 2024 · 2 comments

Comments

@johnsonwong666
Copy link

image

dbus-daemon[12]: Failed to start message bus: The pid file "/run/dbus/pid" exists, if the message bus is not running, remove this file

容器没起来 进不去终端 不知如何删除

@cmj2002
Copy link
Owner

cmj2002 commented Mar 13, 2024

猜测是 dbus-daemon 创建了该文件,正常关闭时应当移除,但是在容器重启时没有移除,导致 dbus-daemon 启动时发现该文件。

暂时修复:尝试完全移除容器(docker compose down)然后再启动(docker compose up -d)

我稍后会进行修复。

@johnsonwong666
Copy link
Author

猜测是 dbus-daemon 创建了该文件,正常关闭时应当移除,但是在容器重启时没有移除,导致 dbus-daemon 启动时发现该文件。

暂时修复:尝试完全移除容器(docker compose down)然后再启动(docker compose up -d)

我稍后会进行修复。

感谢回复

cmj2002 added a commit that referenced this issue Mar 19, 2024
@cmj2002 cmj2002 closed this as completed Mar 19, 2024
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