Start the container, as shown in figure:

By default ip192.168.99.100 + port access successfully, as shown in figure:

Not set port forwarding, the use of the host IP + port access failure, as shown in figure:

Set the port forwarding, the use of the host IP + port access failure, as shown in figure:


CodePudding user response:
A heavyweight solution are given, fill in the IP: Rule1 subsystem 192.168.99.100, port: 8888