LXD within LXD

From OSM Public Wiki
Revision as of 11:34, 7 December 2016 by Garciadeblas (talk | contribs) (Created page with "If you wish to install OSM Release One from inside a LXD container, you will need to enable nesting: lxc launch ubuntu:16.04 osmr1 -c security.nesting=true -c security.privil...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you wish to install OSM Release One from inside a LXD container, you will need to enable nesting:

lxc launch ubuntu:16.04 osmr1 -c security.nesting=true -c security.privileged=true
lxc exec osmr1 bash

Inside the LXD host container, reconfigure the lxd package in order to setup a network bridge so that nested containers have network access. When prompted, choose the default options.

root@osmr1:~# sudo dpkg-reconfigure -p medium lxd