Failed to get D-Bus connection No connection to service manager
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[Docker]]
*概要 [#t70f00bd]
下記エラーが出てしまう場合の対処方法です。
*エラー内容 [#h47392f9]
Failed to get D-Bus connection: No connection to service...
*状況 [#y698788a]
CentOS7などのDockerコンテナでsystemdを使ってサービスを起...
# systemctl start postfix
*対処方法 [#y712f371]
デタッチドモード&/sbin/initでコンテナを起動する
$ docker run --privileged --rm --name postfix-test -dti ...
execのbashでログインする
$ docker exec -ti postfix-test bash
[root@docker]# systemctl status postfix
● postfix.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
終了行:
[[Docker]]
*概要 [#t70f00bd]
下記エラーが出てしまう場合の対処方法です。
*エラー内容 [#h47392f9]
Failed to get D-Bus connection: No connection to service...
*状況 [#y698788a]
CentOS7などのDockerコンテナでsystemdを使ってサービスを起...
# systemctl start postfix
*対処方法 [#y712f371]
デタッチドモード&/sbin/initでコンテナを起動する
$ docker run --privileged --rm --name postfix-test -dti ...
execのbashでログインする
$ docker exec -ti postfix-test bash
[root@docker]# systemctl status postfix
● postfix.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
ページ名: