How to access application URL hosted in docker container?

前端 未结 2 1875
余生分开走
余生分开走 2021-02-14 23:13

I hosted our application inside a docker container. When I run docker ps command, it gave info like below.

CONTAINER ID        IMAGE                         


        
2条回答
  •  花落未央
    2021-02-14 23:47

    docker ps command shows the running container which displays the port your application is running. On browser type http://localhost:54529/your_application_page. if you are running application locally, then this is the port which needs to be changed in browser to access container application.

提交回复
热议问题