Theoretically, any network setup a virtual machine manager can do, so should a container engine. The bulk of the work setting up the network happens on the host side anyway, and Linux guests can be made to see whatever network interfaces the host/engine wants it to see.
systemd's containerization solution supports quite a few ways to construct network setups. Look for 'network' in `man systemd-nspawn`.
I can't say much about Docker's support though. Haven't used it since 0.6, and I didn't have a favourable opinion of their network management ideas back then either.
systemd's containerization solution supports quite a few ways to construct network setups. Look for 'network' in `man systemd-nspawn`.
I can't say much about Docker's support though. Haven't used it since 0.6, and I didn't have a favourable opinion of their network management ideas back then either.