private void mapPort(int hostPort, int containerPort) {
String dockerHost = getAddress().getHostAddress();
PortForwardManager portForwardManager = getOwner().getDockerHost().getSubnetTier().getPortForwardManager();
portForwardManager.recordPublicIpHostname(dockerHost, dockerHost);
portForwardManager.acquirePublicPortExplicit(dockerHost, hostPort);
portForwardManager.associate(dockerHost, hostPort, this, containerPort);
}
@Override
public HostAndPort getSocketEndpointFor(Cidr accessor, int privatePort) {
String dockerHost = getAddress().getHostAddress();