How to get IP address of running docker container - Stack Overflow
The IP will be localhost
(since we are dealign with your computer. But if you want you can also type 127.0.0.1) and the port
that you set in the container. For example, if you run Docker with the port option like this -p 3003:3000
Then it means that NodeJS should be listening on port 3000, while the exposed port will be 3003
. Exposed to your local machine.
Thus you could type in the browser:
Read full article from How to get IP address of running docker container - Stack Overflow
No comments:
Post a Comment