
我通過 ssh 進入我的容器並運行以下命令:
systemctl restart nginx.service
終端吐出其中一個壞男孩:
Failed to connect to bus: No such file or directory
有人遇過這樣的事情嗎?感謝任何幫助,並提前致謝,夥計們。
筆記:
- 我正在使用這個容器來搞亂 ansible 2
uname -a
主機的輸出是Linux your-homey 4.10.0-35-generic #39~16.04.1-Ubuntu SMP Wed Sep 13 09:02:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
該容器是“ubuntu”類型。