Upgrade docker and boot2docker on OSX
If you followed my tutorial on how to install docker and boot2docker on OSX, a week ago, you now have old versions of both on your machine. Trying to upgrade I encountered a small glitch. So let me share it with you.
First let’s upgrade docker and boot2docker:
$ brew update
$ brew upgrade docker
$ brew upgrade boot2docker
Now it’s very important to upgrade boot2docker’s image otherwise you’ll see this kind of message when you try to create new images:
See this issue
So let’s upgrade boot2docker’s image:
$ boot2docker stop
$ boot2docker delete
$ boot2docker download
$ boot2docker init
$ boot2docker up
Sometimes boot2docker won’t stop. I’ve had to manually shutdown the vm with VirtualBox’s GUI.