Closed lcamacho closed 9 years ago
:+1:
As I read the code it's only to change:
B2D_URL="https://github.com/boot2docker/boot2docker/releases/download/v1.2.0/boot2docker.iso"
to
https://github.com/boot2docker/boot2docker/releases/download/v1.3.0/boot2docker.iso
in build-iso.sh.
And build it, but I have newer built a box before :-)
I did the same but as soon as vagrant try to connect to this new image it keeps saying that it can't connect, maybe because this version of docker uses some kind of security to be able to connect.
Hmm, that's an ssh connection if I remember it right, something wrong with the password? If I remember it right packer sets it.
When you start boot2docker 1.3 it recommends you to set this in your enviroment to be able to connect: export DOCKER_TLS_VERIFY=1 export DOCKER_HOST=tcp://192.168.59.103:2376 export DOCKER_CERT_PATH=/Users/user/.boot2docker/certs/boot2docker-vm
I dont know if theres a way to set this in vagrant or maybe the way to go is disabling TLS all together
Those variables shouldn't affect the ssl connection to the boot2docker vm. Trying to set up the same stuff on my laptop, but it takes some time on a train.
Hi
Icamacho, I got it working, try my diffs in #66 and let me know if it works for you.
Sincerely Mikael
I can't find an updated box when I try with
vagrant box update --box mitchellh/boot2docker
Do you need to do a release for making it aviable? I have added the box I built to dropbox and it's aviable with:
config.vm.box = "sennerholm/boot2docker" config.vm.box_url = "https://dl.dropboxusercontent.com/u/6816236/boot2docker_virtualbox.box"
Sincerely Mikael
According to http://blog.docker.com/2014/10/docker-1-3-signed-images-process-injection-security-options-mac-shared-directories/ this new version mount /Users for OSX, plus exec command and more.