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
However, if a valid IP address from the network namespace is provided, the Docker proxy binds to that address successfully, but the port remains inaccessible. In the case of containerd, the binding always occurs successfully, resulting in a silent failure where the port is not accessible.
docker run -d -p 192.168.127.2:6604:80 nginx
It’s worth noting that nerdctl successfully creates the container and handles port bindings in all the scenarios described above. However, the actual ports will not be accessible, and this is a known issue.
This behavior should be addressed in the guest agent. We should define the HostIP in the guest agent as either localhost or 0.0.0.0. If the user provides localhost, the HostIP will be set to localhost; otherwise, it will default to 0.0.0.0, regardless of the IP address provided.
The text was updated successfully, but these errors were encountered:
Currently, if a user provides any IP address other than
localhost
or0.0.0.0
, the Docker proxy fails to bind.However, if a valid IP address from the network namespace is provided, the Docker proxy binds to that address successfully, but the port remains inaccessible. In the case of containerd, the binding always occurs successfully, resulting in a silent failure where the port is not accessible.
It’s worth noting that nerdctl successfully creates the container and handles port bindings in all the scenarios described above. However, the actual ports will not be accessible, and this is a known issue.
This behavior should be addressed in the guest agent. We should define the HostIP in the guest agent as either localhost or
0.0.0.0
. If the user provides localhost, the HostIP will be set to localhost; otherwise, it will default to0.0.0.0
, regardless of the IP address provided.The text was updated successfully, but these errors were encountered: