Docker Community Forums

Share and learn in the Docker community.

Running an application, how to open it?


(Zhshqzyc) #1

On docker toolbox. I have a web application running on port 5004.
How to check it on the browser?

Because I typed

Nothing there, This site can’t be reached
Sorry for the simple question but I have no clue.

(David Maze) #2

When you say docker run -p 5004 without specifying a port number, Docker picks its own port number, usually starting at 32768 and working upwards. docker ps will tell you what port number it picked (or, more verbosely but machine-parseably, docker inspect); or you can specify your own port number, like docker run -p 5004:5004 ...

(Zhshqzyc) #3

Thanks. It works. I use192.168.99.100:32678