Open oxypwn opened 8 years ago
cc @frapposelli
Manually (via vSphere-client) replacing the boot2docker.iso in the vm-datastore seems to resolve the problem.
definitely a bug, I'll look into it, thanks for reporting.
Any update on this @frapposelli ?
I also have this problem.
➜ ~ docker-machine -v
docker-machine version 0.7.0, build a650a40
➜ ~ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
node-00 - vmwarevsphere Running tcp://192.168.2.208:2376 v1.10.2
node-01 - vmwarevsphere Running tcp://192.168.2.29:2376 v1.10.2
node-02 - vmwarevsphere Running tcp://192.168.2.87:2376 v1.10.2
➜ ~ docker-machine upgrade node-00
Waiting for SSH to be available...
Detecting the provisioner...
Upgrading docker...
Stopping machine to do the upgrade...
Upgrading machine "node-00"...
Default Boot2Docker ISO is out-of-date, downloading the latest release...
Latest release for github.com/boot2docker/boot2docker is v1.11.1
Downloading /home/philipz/.docker/machine/cache/boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v1.11.1/boot2docker.iso...
0%....10%....20%....30%....40%....50%....60%....70%....80%....90%....100%
Copying /home/philipz/.docker/machine/cache/boot2docker.iso to /home/philipz/.docker/machine/machines/node-00/boot2docker.iso...
Starting machine back up...
(node-00) Waiting for VMware Tools to come online...
Restarting docker...
➜ ~ docker-machine ls
NAME ACTIVE DRIVER STATE URL SWARM DOCKER ERRORS
node-00 - vmwarevsphere Running tcp://192.168.2.208:2376 v1.10.2
node-01 - vmwarevsphere Running tcp://192.168.2.29:2376 v1.10.2
node-02 - vmwarevsphere Running tcp://192.168.2.87:2376 v1.10.2
I actually have the same bug while trying to upgrade from 1.11.1 to 1.12 with vsphere :
$ docker-machine upgrade docker01
Waiting for SSH to be available...
Detecting the provisioner...
Upgrading docker...
Stopping machine to do the upgrade...
Upgrading machine "docker01"...
Copying /Users/sitle/.docker/machine/cache/boot2docker.iso to /Users/sitle/.docker/machine/machines/docker01/boot2docker.iso...
Starting machine back up...
(docker01) Waiting for VMware Tools to come online...
Restarting docker...
then
$ eval $(docker-machine env docker01)
$ docker ps
Error response from daemon: client is newer than server (client API version: 1.24, server API version: 1.23)
I actually use this workaround for now to make it work :
$ export DOCKER_API_VERSION=1.23
$ docker ps
I have the same issue, always replace boot2docker.iso manually, any official methods?
More then a year and still not fixed?
machine upgrade
machines using the vmwarevsphere driver seems to fail without errors.docker-machine version 0.6.0, build e27fb87