docker.service:没有这样的文件或目录

docker.service:没有这样的文件或目录,docker,vagrant,Docker,Vagrant,我刚刚在Mac电脑上更新了最新版本的Vagrant和Docker。运行Wagrant up--provider=docker时,出现以下错误: ==> default: Configuring proxy for Apt... The following SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed! sed -e 's/\[Ser

我刚刚在Mac电脑上更新了最新版本的Vagrant和Docker。运行Wagrant up--provider=docker时,出现以下错误:

==> default: Configuring proxy for Apt...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

sed -e 's/\[Service\]/[Service]\nEnvironmentFile=-\/etc\/default\/docker/g' /lib/systemd/system/docker.service > /tmp/docker.service

Stdout from the command:

Stderr from the command:

sed: can't read /lib/systemd/system/docker.service: No such file or directory

在我更新到2.2.9之前,这些都是关于Vagrant 2.2.4的。关于如何解决这个问题有什么想法吗?

不是一个合适的解决方案,但回到Vagrant 2.2.4解决了这个问题。我仍然不知道为什么会这样。这不是一个合适的解决方案,但回到流浪汉2.2.4解决了这个问题。我仍然不知道为什么会这样。