networking in linux containers

5 views
Skip to first unread message

Johannes Ernst

unread,
Jun 11, 2015, 7:51:33 PM6/11/15
to ubos...@googlegroups.com
Anybody on this list who has experience with Linux containers? I could use some help.

I’m attempting to run UBOX in a Linux container. Actually it runs fine, but I’m trying to come up with a networking setup that works well for most people most of the time.

Easiest seems to be to set up a “private network” between host and container, but that in itself doesn’t let the container access the internet, and so updating code or installing new apps becomes impossible.

Setting up a NAT essentially turns the host into a router, and I can’t think of a simple way of describing how to do that.

Ideas?

I’m using systemd-nspawn to create the container and boot it:

> sudo systemd-nspawn -b -D ubos

but I guess any other container toolset would have me face the same issues

Cheers,



Johannes.

Reply all
Reply to author
Forward
0 new messages