[lxc-users] LXC containers networking

Andrey Repin anrdaemon at yandex.ru
Fri Apr 6 00:49:13 UTC 2018


Greetings, Bhangui!

> I’m pretty new to using LXC containers.
>
> I have a requirement that the solution running inside the container should
> be able to communicate to services in public cloud and also with some services on the host machine.

That's a rather common requirement.

>  How do I setup the networking of this container?

However you want. For most intents and purposes, LXC/LXD container is a
complete running system. Just without real hardware.

> When it will try to communicate to the service on the host machine, will
> request be routed to machine over the physical network?

However you configure it. It's all up to you. Macvlans support everything and
more.


-- 
With best regards,
Andrey Repin
Friday, April 6, 2018 03:29:23

Sorry for my terrible english...


More information about the lxc-users mailing list