LoginSignup
1
0

More than 1 year has passed since last update.

Failed to get D-Bus connection: No such file or directory

Posted at

前提

macOS 13(Ventura)
CPUが Apple Silicon M1 MAX
Docker for Mac
systemdを採用しているOS?(今回はCentOS7)

エラーメッセージ

$ systemctl status httpd

Failed to get D-Bus connection: No such file or directory

systemctl コマンドがとにかくエラーで動かない。

~/Library/Group\ Containers/group.com.docker/settings.json
  "deprecatedCgroupv1": true,

上記、 falsetrue に変更する。

ここが重要

macOS を再起動する。

私の場合、このステップが必要でした。
Docker for macを再起動とかしたんだけど、変化なしでした。
あれこれして時間を無駄にしました。
とにかく、まるごと、再起動。

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0