Reputation: 5117
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:
lxcbr0
bridge never gets created. Partial workaround is to manually create the bridge.cgroupfs failed to detect cgroup metadata
, even if I manually mount a cgroup via mount -n -t tmpfs -o uid=0,gid=0,mode=0755 cgroup /sys/fs/cgroup
Upvotes: 7
Views: 4966
Reputation: 10474
Take a look at the --privileged
flag to your docker container docs
Upvotes: 0