You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For containers in "HOST" mode, Docker does not allow a container port to be mapped to a host port different from the container one. So if a container needs to publish port 8080, its host port must be set to 8080 regardless what value is assigned to the container_port field. The container should be set to "BRIDGE" or "CONTAINER" mode if there are container ports to be mapped to ephemeral host ports.
The text was updated successfully, but these errors were encountered:
For containers in "HOST" mode, Docker does not allow a container port to be mapped to a host port different from the container one. So if a container needs to publish port
8080
, its host port must be set to8080
regardless what value is assigned to thecontainer_port
field. The container should be set to "BRIDGE" or "CONTAINER" mode if there are container ports to be mapped to ephemeral host ports.The text was updated successfully, but these errors were encountered: