加载配置文件时出错:.dockercfg:$HOME 未定义

加载配置文件时出错:.dockercfg:$HOME 未定义

虚拟机(VMware)崩溃后,我尝试启动 Synapse,但出现以下错误:

Dec 18 11:05:20 systemd[1]: Stopped Synapse server.
Dec 18 11:05:20 systemd[1]: Starting Synapse server...
Dec 18 11:05:20 matrix-synapse[44775]: WARNING: Error loading config file: .dockercfg: $HOME is not defined
Dec 18 11:05:20 matrix-synapse[44775]: Error response from daemon: Cannot kill container: matrix-synapse: No such container: matrix-synapse
Dec 18 11:05:20 matrix-synapse[44798]: WARNING: Error loading config file: .dockercfg: $HOME is not defined
Dec 18 11:05:20 matrix-synapse[44798]: Error: No such container: matrix-synapse
Dec 18 11:05:20 systemd[1]: Started Synapse server.
Dec 18 11:05:20 matrix-synapse[44806]: WARNING: Error loading config file: .dockercfg: $HOME is not defined
Dec 18 11:05:20 matrix-synapse[44806]: docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /matrix/synapse/config.
Dec 18 11:05:20 matrix-synapse[44806]: See 'docker run --help'.
Dec 18 11:05:20 systemd[1]: matrix-synapse.service: Main process exited, code=exited, status=125/n/a

Ubuntu 20.04.1 LTS(GNU/Linux 5.4.0-58-generic x86_64)。第二台虚拟机(Ubuntu 18)也出现同样的错误。

相关内容