How do I start a LXC container inside of a docker container - end to end - with shared networking? Ideally I'd like to do this with Debian or Ubuntu. Some problems I found when trying to do this:
- lxc-net doesn't start when installed into a Docker container, so the
lxcbr0
bridge never gets created. Partial workaround is to manually create the bridge. - lxc containers fail to start to due to
cgroupfs failed to detect cgroup metadata
, even if I manually mount a cgroup viamount -n -t tmpfs -o uid=0,gid=0,mode=0755 cgroup /sys/fs/cgroup