You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the container image use systemd to start the nginx.service? Most of container images start the application directly instead of using an init system like systemd.
In the current Dockerfile, the container is launched using the init process.
Specifically, at the end of the Dockerfile, there is the following CMD directive: CMD ["/sbin/init"]
Describe the bug
When I try to run
systemctl status nginx
it saysFailed to get D-Bus connection: No such file or directory
To Reproduce
systemctl status nginx
(docker image isFROM --platform=linux/amd64 amazonlinux:2
)Expected behavior
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.5.1
Commit: 4cfac15e1080617c70eb163966e1cb2009dac1c2 (v1.5.1)
System info:
macOS: 14.2.1 (23C71)
CPU: arm64, 8 cores
CPU model: Apple M1
Model: MacBookPro17,1
Memory: 16 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-04-26T15-09-39.138072Z.zip
Screenshots and additional context (optional)
if it were docker desktop, i know how to solve this issue.
this is written by Japanese, but it shows about this.
https://qiita.com/NaoyaMiyagawa/items/22a870112377a91e1c99
Related to this is this issues
docker/for-mac#6073
The text was updated successfully, but these errors were encountered: