Docker in LXC container on TOS6

In my case I just needed to update a raw.lxc with these changes:

  • lxc.cgroup.device.allow to lxc.cgroup2.device.allow
  • Remove line lxc.mount.auto = cgroup:rw:force

This is my working config:

raw.lxc: |-
lxc.cgroup2.devices.allow = a
security.nesting: "true"
security.privileged: "true"
lxc.cap.drop =

And now I can start exploring how to move to native Docker in OpenWRT instead of nested Docker in LXC :slight_smile:

3 Likes