This command below:
docker run --rm -it -p 127.0.0.1:3000:3000 -v $(pwd):/usr/src/app sanchezjjose/my-node-app
Which I am running should apparently allow me to run my application against localhost on port 3000 locally, but instead in Kitematic I see:
'Access URL' : 192.168.99.100:3000
In the docker terminal when running ‘docker ps’ I see:
When I go to the browser, I am not able to access my application either with 192.168.99.100:3000 OR with localhost:3000.
Is there something maybe I am missing in the documentation on why this will not work? This is my current stack:
- Mac OSX - Docker 1.8.0 - Kitematic 0.8.1 - VirtualBox 5.0.0
I also don’t have any port forwaring for port 3000 either in VirtualBox because I figured that adding the host on the run command should allow me to skip that, but I have tried with port forwarding as well and it doesn’t work either.
Thank you very much.