Home > other >  Never understand the docker port forwarding
Never understand the docker port forwarding

Time:10-01

Haven't understand docker port forwarding

the problem from the CSDN Docker communication technology group (303806405), by the moderator xinshubiao,

CodePudding user response:

Can understand simple host is a router, the container is network machine

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

I just looked at the docker0 this should be routing on host, the inside of the 0.0.0.0:49155 - & gt; 22 is hosting the 49155 container 22?

the problem from the CSDN Docker communication technology group (303806405), by the moderator xinshubiao,

CodePudding user response:

Yes, we can understand so, is the 49155 map to 22.

the answer from the CSDN Docker communication technology group (303806405), by the webmaster xinshubiao finishing, due to the manual editing, the questioner and the respondent QQ number and nickname had no marked one by one, simply use the ABCD instead of asking questions or reply, on behalf of A questioner, here, first thanked the group students participating in the discussion,

CodePudding user response:

Please comment how to implement the container internal network connection configuration, STH over and over again for a long time, never get success!
  • Related