Docker-machine 创建 虚拟主机报错 "Wrapper Docker Machine process exiting due to closed plugin server . . ." 请教如何解决?

2018-04-13 12:01:42 +08:00
 zanxj
ubuntu@ubuntu:~$ docker-machine create -d virtualbox manager &&
> docker-machine create -d virtualbox worker1
Running pre-create checks...
(manager) Default Boot2Docker ISO is out-of-date, downloading the latest release...
(manager) Latest release for github.com/boot2docker/boot2docker is v18.04.0-ce
(manager) Downloading /home/ubuntu/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v18.04.0-ce/boot2docker.iso...
(manager) 0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Creating machine...
(manager) Copying /home/ubuntu/.docker/machine/cache/boot2docker.iso to /home/ubuntu/.docker/machine/machines/manager/boot2docker.iso...
(manager) Creating VirtualBox VM...
(manager) Creating SSH key...
(manager) Starting the VM...
(manager) Check network to re-create if needed...
(manager) Found a new host-only adapter: "vboxnet0"
(manager) Waiting for an IP...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with boot2docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env manager
Running pre-create checks...
Creating machine...
(worker1) Copying /home/ubuntu/.docker/machine/cache/boot2docker.iso to /home/ubuntu/.docker/machine/machines/worker1/boot2docker.iso...
(worker1) Creating VirtualBox VM...
(worker1) Creating SSH key...
Wrapper Docker Machine process exiting due to closed plugin server (read tcp 127.0.0.1:37594->127.0.0.1:37131: read: connection reset by peer)
Error creating machine: Error in driver during machine creation: read tcp 127.0.0.1:37594->127.0.0.1:37131: read: connection reset by peer
ubuntu@ubuntu:~$ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
manager - virtualbox Running tcp://192.168.99.100:2376 v18.04.0-ce
worker1 - virtualbox Error Unknown machine does not exist
3604 次点击
所在节点    Docker
1 条回复
zanxj
2018-04-17 16:38:56 +08:00
问题已解决。该问题是在 Vmware Workstation Pro 14.1.1 & Ubuntu Server 16.04.4 上出现的,用真实机器测试不会出现。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/446501

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX