Dark Horse Learning Project Record Bug

 

 Unable to access the gogs URL,

To query the correct port being used by the Gogs container, use the following command:

docker ps

 This command will list all running Docker containers, including the container's name, ID, status, creation time, used image and other information. In the list, you should be able to find the container named "gogs" and view the port mapping information for the container.

You can see that the port mapping of the Gogs container is as follows:

  • Map port 22 of the container to port 10022 of the host
  • Map the container's port 3000 to the host's port 10880

Therefore, you can access Gogs at:

http://<your-host-ip>:10880

 

Guess you like

Origin blog.csdn.net/weixin_56762231/article/details/130230885