boot2docker / osx-installer

Docker installer for Mac OS X
Apache License 2.0
1.25k stars 258 forks source link

V1.2 'Upgrade' failed to in saved boot2docker host #63

Closed ccp999 closed 6 years ago

ccp999 commented 9 years ago

Hi,

I just tried the v1.2 installer to use 'boot2docker upgrade' after a 'boot2docker save'. and once done with no error msg. It seems 'boot2docker upgrade' cannot docker server from 1.13 to 1.14.

iTags-MacBook-Pro:~ ccp999$ boot2docker up Waiting for VM and Docker daemon to start... ...... Started. Your DOCKER_HOST env variable is already set correctly.

iTags-MacBook-Pro:~ ccp999$ docker version Client version: 1.2.0 Client API version: 1.14 Go version (client): go1.3.1 Git commit (client): fa7b24f OS/Arch (client): darwin/amd64 2014/08/23 18:43:28 Error response from daemon: client and server don't have same version (client : 1.14, server: 1.13)

SvenDowideit commented 9 years ago

mmm, docker save suspends, I wonder if you need (and thus we need to amend the code) to docker stop first.

jensklose commented 9 years ago

same issue after v1.2

Waiting for VM and Docker daemon to start... .......................... Started.

To connect the Docker client to the Docker daemon, please set: export DOCKER_HOST=tcp://192.168.59.103:2375

xyz ~ $ docker version Client version: 1.2.0 Client API version: 1.14 Go version (client): go1.3.1 Git commit (client): fa7b24f OS/Arch (client): darwin/amd64 2014/08/26 18:40:26 Error response from daemon: client and server don't have same version (client : 1.14, server: 1.13)

~ $ docker run --name first --rm -it ubuntu /bin/bash Unable to find image 'ubuntu' locally Pulling repository ubuntu c4ff7513909d: Download complete 511136ea3c5a: Download complete 1c9383292a8f: Download complete 9942dd43ff21: Download complete d92c3c92fa73: Download complete 0ea0d582fd90: Download complete cc58e55aa5a5: Download complete 2014/08/26 18:46:19 Error response from daemon: client and server don't have same version (client : 1.14, server: 1.13)

brainsprain commented 9 years ago

Same issue also after a brew update; brew upgrade.

Client version: 1.2.0 Client API version: 1.14 Go version (client): go1.3.1 Git commit (client): fa7b24f OS/Arch (client): darwin/amd64 2014/08/26 12:51:11 Error response from daemon: client and server don't have same version (client : 1.14, server: 1.13)

yoav commented 9 years ago

Try re-downloading boot2docker (boot2docker destroy; boot2docker download).

SvenDowideit commented 9 years ago

Or run 'boot2docker upgrade' which will download the latest iso and restart your vm

On 28 August 2014 22:35:08 GMT+10:00, Yoav Landman notifications@github.com wrote:

Try re-downloading boot2docker (boot2docker download).


Reply to this email directly or view it on GitHub: https://github.com/boot2docker/osx-installer/issues/63#issuecomment-53713342

Sent from my Android device with K-9 Mail. Please excuse my brevity.

wiredforpictures commented 9 years ago

Same issue. Using brew on Mac OS X 10.9.4. I have uninstalled both docker and boot2docker using brew uninstall, and then reinstalled. But same error message.

[~] boot2docker up
Waiting for VM and Docker daemon to start...
...............................
Started.

To connect the Docker client to the Docker daemon, please set:
    export DOCKER_HOST=tcp://192.168.59.105:2375

[~] export DOCKER_HOST=tcp://192.168.59.105:2375
[~] docker info
2014/08/30 22:49:43 Error response from daemon: client and server don't have same version (client : 1.14, server: 1.13)
[~] docker --version
Docker version 1.2.0, build fa7b24f
[~] boot2docker version
Client version: v1.2.0
SvenDowideit commented 9 years ago

what version info do you get when you boot2docker ssh into the vm? it seriously sounds like the boot2docker.iso has not been boot2docker download (ed)

wiredforpictures commented 9 years ago

That worked. Thanks Sven. I was confused by the upgrade process, thinking that the instructions on the docker docs to boot2docker download etc. were only for those installing boot2docker directly, but that it wasn't necessary for brew users (as brew would handle that while upgrading). Didn't realise it was a separate and subsequent step.

tianon commented 6 years ago

Sorry, this repository is long-since deprecated in favor of Docker Toolbox (whose usage is now also discouraged in favor of Docker for Windows and Docker for Mac).