3 ms·
There is some outdated information on this site for boot2docker on Mac OS X. 1. You need to set more than just tcp://ip:2376. You need to run $ eval $(boot2do
by j_m_b 11y ago
There is some outdated information on this site for boot2docker on Mac OS X.
1. You need to set more than just tcp://ip:2376. You need to run
$ eval $(boot2docker shellinit)
to also set vars for DOCKER_CERT_PATH
2. In order to get proper forwarding from your host Mac OS X to your boot2docker-vm, you use -P as a command line option for any containers you 'run'.
Bonus docker gotcha:
docker containers can't make fsync() calls on shared folders between your Mac and the boot2docker-vm. This means a lot of database software can't use a shared folder to store a database.