Publishing containers using port mapping