Docker, Vagrant and VMWare Fusion
woss.name
woss.name
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
"All we’re doing is installing the latest stable version of Docker, direct from Docker’s own apt repository, configuring it to listen for both TCP and socket connections, updating the rest of the system, and installing avahi for multicast DNS resolution."Installing avahi for multicast DNS resolution? Why does he need avahi? Why does he need multicast DNS resolution?
[Update: I don't know why the person that replied deleted their comment, because it was useful info. Here it is, for posterity:
1) Add's the docker key from the Ubuntu keyserver, which is already trusted, so the docker packages can be installed.
2) Avahi lets him name his docker containers and then discover them on the local mac os host and the linux VM, eg wossname.nginx, rather than some dynamically assigned IP.]
Deleted comment
The Vagrant support for Docker uses boot2docker, which only supports VirtualBox, so I’m left high and dry.
You can use a proxy Vagrantfile to configure the type of machine that is used as the Docker host [2]. Unfortunately there is a bug [3] that make this not quite usable yet.1. https://docs.vagrantup.com/v2/docker/index.html
"The trouble is that I’m obstinate: I’ve paid for a VMWare Fusion license, and I’m insisting on using it."
VirtualBox is free, and all the work to make Docker run easily has already been done. But the author only wants to use VMWare, so it got complicated.
Here's an interesting Stack Overflow question related to this topic, http://stackoverflow.com/questions/16647069/should-i-use-vag.... Also, it looks like Docker is working to build out its own development environment tools using Fig, but that seems a bit nascent right now.