[Lxc-users] port numbers for containers

Serge Hallyn serge.hallyn at canonical.com
Wed Aug 11 12:06:18 UTC 2010


Quoting Nirmal Guhan (vavatutu at gmail.com):
> Hi,
> 
> Want to know if port numbers are virtualized for containers or do the
> containers and host share the port space ? Please let me know.

Wrong layer.  If the container shares a network namespace with the
host, then it shares its networking.  If it has its own network
namespace, then it has its own entire network stack.  So no, 'port
space' isn't virtualized.vs.shared, but the network devices are.




More information about the lxc-users mailing list