[Lxc-users] port numbers for containers

2010-08-11 Thread Nirmal Guhan
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. --Nirmal -- This SF.net email is sponsored by Make an app they can't live without

Re: [Lxc-users] port numbers for containers

2010-08-11 Thread Serge Hallyn
Quoting Nirmal Guhan (vavat...@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 i

Re: [Lxc-users] /dev/rtc

2010-08-11 Thread Papp Tamás
Daniel Lezcano wrote, On 2010. 08. 09. 0:37: > On 08/08/2010 12:23 AM, Papp Tamas wrote: >>hi! >> >> I use the everywhere offered lxc configuration as: >> >> lxc.cgroup.devices.deny = a >> # /dev/null and zero >> lxc.cgroup.devices.allow = c 1:3 rwm >> lxc.cgroup.devices.allow = c 1:5 rwm >> #

Re: [Lxc-users] port numbers for containers

2010-08-11 Thread Nirmal Guhan
On Wed, Aug 11, 2010 at 5:06 AM, Serge Hallyn wrote: > Quoting Nirmal Guhan (vavat...@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

Re: [Lxc-users] /dev/rtc

2010-08-11 Thread Serge Hallyn
Quoting Papp Tamás (tom...@martos.bme.hu): > > Daniel Lezcano wrote, On 2010. 08. 09. 0:37: > > On 08/08/2010 12:23 AM, Papp Tamas wrote: > >>hi! > >> > >> I use the everywhere offered lxc configuration as: > >> > >> lxc.cgroup.devices.deny = a > >> # /dev/null and zero > >> lxc.cgroup.devices

Re: [Lxc-users] port numbers for containers

2010-08-11 Thread Serge Hallyn
Quoting Nirmal Guhan (vavat...@gmail.com): > On Wed, Aug 11, 2010 at 5:06 AM, Serge Hallyn > wrote: > > Quoting Nirmal Guhan (vavat...@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

Re: [Lxc-users] /dev/rtc

2010-08-11 Thread Papp Tamás
Serge Hallyn wrote, On 2010. 08. 11. 20:03: > I guess the container tried to create it after being moved into the > devices cgroup. You didn't give the container the rights to create that > device. > How can I give it? As you can see, everything is the same, as with the other devices, except

Re: [Lxc-users] /dev/rtc

2010-08-11 Thread Serge Hallyn
Quoting Papp Tamás (tom...@martos.bme.hu): > > Serge Hallyn wrote, On 2010. 08. 11. 20:03: > >I guess the container tried to create it after being moved into the > >devices cgroup. You didn't give the container the rights to create that > >device. > > How can I give it? As you can see, everythin

Re: [Lxc-users] port numbers for containers

2010-08-11 Thread Nirmal Guhan
On Wed, Aug 11, 2010 at 11:05 AM, Serge Hallyn wrote: > Quoting Nirmal Guhan (vavat...@gmail.com): >> On Wed, Aug 11, 2010 at 5:06 AM, Serge Hallyn >> wrote: >> > Quoting Nirmal Guhan (vavat...@gmail.com): >> >> Hi, >> >> >> >> Want to know if port numbers are virtualized for containers or do the