Since I just updated Docker to 1.1.0 I get:
Error response from daemon: client and server don\'t have same version (client : 1.13, server: 1.12)
<
The correct answer here is very old (Docker have renamed boot2docker to Docker Machine and added some more functionality to it).
Anyway I faced the same problem and took me about 3 days to fix :(
Here's the solution
1) find the location of the boot2docker.iso
sudo find ~/ -name 'boot2docker.iso'
2) delete the boot2docker.iso file, after taking a backup of it
/Users/{user}/.docker/machine/cache/boot2docker.iso
3) delete your docker vm
docker-machine rm {default}
this should delete that one as well:
/Users/{user}/.docker/machine/machines/default/boot2docker.iso
4) create new docker vm
docker-machine create --driver virtualbox default
this will download a new boot2docker.iso first and then use it to create your vm.
Now this should fix it :)
If you get any error here like:
Running pre-create checks...
(mega-docker) No default Boot2Docker ISO found locally, downloading the latest release...
Error with pre-create check: "Get https://api.github.com/repos/boot2docker/boot2docker/releases/latest: dial tcp: lookup api.github.com on 192.168.0.1:53: read udp 192.168.0.103:53947->192.168.0.1:53: i/o timeout"
try to download the boot2docker.iso file manually by going to https://api.github.com/repos/boot2docker/boot2docker/releases/latest then clicking on the html_url and finally choosing to download the file.
once you get the file go and place it manually in /Users/{user}/.docker/machine/cache/
finally re-run this command docker-machine create --driver virtualbox default