Hi all,
This is my first post. I am very happy can join this forum.
I am new to Docker and have a problem when I am using it.
OS Version/build: Windows 10 Pro
Docker App version: 1.13.1 (10072)
I installed Docker for Windows 10 and pull Ubuntu image.
Then, I run the image using this instruction: docker run -it ubuntu
Next, I install npm, redis, and other tools that would be used for development.
I commit the image as “npm-ubuntu”
After that, I run npm-ubuntu and bind mount a volume to my source code folder.
I run npm install, npm test, and npm start successfully.
npm start would open port 9000 for localhost (127.0.0.1).
But, I can’t open 127.0.0.1:9000 in my browser (outside the docker).
I can’t install web browser inside my docker (npm-ubuntu), too.
How to know what ip and the port that I can access from the browser in my laptop outside the docker?
or do you have any suggestion to open 127.0.0.1:9000 from browser (whether inside or outside the docker)?
Thanks in advance.