docker-composeでsystemctlを使う場合の設定 投稿日: 2022-10-272022-10-27 投稿者: pg-ito ふつうにつかおうとすると Failed to get D-Bus connection: Operation not permitted のようなエラーが出てしまう。 解決方法としてはprivileged: true をつければよい 例 services: httpd: build: .Dockerfile privileged: true command: /sbin/init