I have been trying to test the Fig + Docker + Rails stack on my local machine which run MacOSX.
All of my setups ( Dockerfile, Fig.yml ) and steps are exactly the same as demonstrated fig's official guide. http://www.fig.sh/rails.html
I use zsh as shell and here is how I export boot2docker env virables.
export DOCKER_TLS_VERIFY=1 export DOCKER_HOST=tcp://boot2docker:2376 export DOCKER_CERT_PATH=/Users/tal/.boot2docker/certs/boot2docker-vm
if you cat my /etc/hosts, you would see a host def
My rails app run according to the docker console but can't access it via host with defined port :3000.
What would be the reason that I can't access the rails process from host ?
Please enlighten me , Thanks.