[lxc-users] IP address?
wisdomlight at protonmail.com
wisdomlight at protonmail.com
Sat Apr 20 20:58:33 UTC 2019
Thanks Serge
I think I am quitting my efforts to install lxc containers on my PureOS - it turns out to be tricky.
Lxc works fine on my Ubuntu VM so I'll work with that.
Your help is appreciated - thanks.
Sherab
Just like an experience in a dream
Everything I now enjoy
Will become a mere recollection
For what has past will not be seen again
Sent from ProtonMail, encrypted email based in Switzerland.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Saturday, April 20, 2019 8:38 PM, Serge E. Hallyn <serge at hallyn.com> wrote:
> On Fri, Apr 19, 2019 at 08:42:16PM +0000, wisdomlight at protonmail.com wrote:
>
> > lxc-start -d -n myContainer
> >
> > ============================
> >
> > and then
> >
> > lxc-ls —fancy
> >
> > ==============
> >
> > returns
> > NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILIGED
> > myContainer RUNNING 0 - -
> >
> > - false
> >
> > I was expecting an IP address under the IPV 4 heading.
> > Why is there no IP address?
>
> That depends on the container configuration (i.e.
> /var/lib/lxc/myContainer/config), the host setup, and the actual
> container. Something has to setup the ipv4 address. You can specify it
> in the container config (see lxc.container.conf.5 manpage); the
> container can have it hardcoded to set itself as it boots; or if the
> host is running a dhcpserver for the containers, the container can call
> dhcp to get it.
>
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
More information about the lxc-users
mailing list