I think it depends on your architecture and use cases. Managing thousands
of containers with static IPs would be a complete pain.

Personally, I went with static as I have a small deployment, so I made
python build scripts that that created an interfaces file.

Matt

On 2 Mar 2017 19:32, "Yuri Kanivetsky" <yuri.kanivet...@gmail.com> wrote:

> Hi,
>
> From what I can see
>
> https://github.com/lxc/lxc/blob/lxc-2.0.7/templates/lxc-ubuntu.in#L104
>
> LXC container by default expects to find DHCP server somewhere on the
> network. Which makes me think if I should set up one, which might be
> not easy. Or switch container to static ip after creation.
>
> What do you say?
>
> Regards,
> Yuri
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to