boot2docker / osx-installer

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

Boot2Docker always downloads version 1.7 #122

Closed peggyl closed 6 years ago

peggyl commented 9 years ago

Boot2Docker 1.6.0 and 1.5.0 both seem to be downloading the Boot2Docker 1.7.0 ISO image. Is this expected, or should the ISO image version match the OS X installer / boot2docker-cli version (as implied on release notes)?

This is on OS X 10.9.5 (Mavericks), with Go 1.4.2.

Steps to reproduce:

There are issues later on where the client seems unable to connect to the daemon and boot2docker becomes unresponsive (to info, stop, delete commands). I'm not sure if this is the cause, but might it be related?

Note: I was trying to go back to 1.6.0 because of other issues running 1.7.0 (I'll revisit that).

Output:

$ boot2docker download
Latest release for boot2docker/boot2docker is v1.7.0
Downloading boot2docker ISO image...
Success: downloaded https://github.com/boot2docker/boot2docker/releases/download/v1.7.0/boot2docker.iso
    to /Users/peggyli/.boot2docker/boot2docker.iso

$ boot2docker version
Boot2Docker-cli version: v1.5.0
Git commit: ccd9032
$ boot2docker start
Waiting for VM and Docker daemon to start...
.............................oooooooooooooooooo
Started.
Writing /Users/peggyli/.boot2docker/certs/boot2docker-vm/ca.pem
Writing /Users/peggyli/.boot2docker/certs/boot2docker-vm/cert.pem
Writing /Users/peggyli/.boot2docker/certs/boot2docker-vm/key.pem
Your environment variables are already set correctly.

$ boot2docker status
running

$ boot2docker version
Boot2Docker-cli version: v1.5.0
Git commit: ccd9032

$ boot2docker stop
error in run: Failed to stop machine "boot2docker-vm": exit status 1

$ boot2docker status
poweroff
ingojaeckel commented 9 years ago

I am noticing the same problem on 1.7.1. Google's Cloud SDK seems incompatible with Docker 1.7.1. I downgraded boot2docker to 1.7.0. But boot2docker download still grabs the 1.7.1 ISO file regardless. As a result I can't use the Cloud SDK against the last known working version 1.7.0. See this discussion and this bug for details.

How can I specify which version of the ISO should be downloaded (instead of always downloading the most recent version)?

Thanks, Ingo

CleanCut commented 8 years ago

+1

amolomnie commented 8 years ago

+1

amolomnie commented 8 years ago

Is there any workaround to make this work

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).