Originally posted in http://aespinosa.github.io/blog/2014-09-23-expose-docker-tcp.html
Useful when spawning Fedora, Centos 7, ArchLinux or CoreOS-based Docker hosts
for development on a Mac.
[vagrant@docker ~]$ cat /etc/systemd/system/docker.socket.d/10-tcp.conf
[Socket]
ListenStream=5555
[vagrant@docker ~]$
Now on your OSX machine, you can use docker via "docker -H ip-of-vm:5555".