I’m trying to launch an LXC container on APU2 on which stands openwrt. The container is being created and even starts, but the network does not work and it’s impossible to configure it for Internet access.
here such config now:
lxc has this nice utility lxc-checkconfig please use it and add the information posted it’s really useful to see if your kernel has all the necessary bits, especially the namespace ones.
BTW I feel your pain, Discuss has many nice features but quoting is not one of them IMO
With. Openwrt you would want first the kernel to be capable for running LXD. It was discussed above how to check.
Then, it is an issue of packaging LXD to a way that is usable by openwrt. In the absence of such a package, you can try to compile LXD from source and then run it. This will show any distro-specific issues.
I wrote LXD but the same applies with LXC.
I see some things missing from the lxc-checkconfig output.
Since the issue is with networking, try to fix the output about networking.
In the output, it mentions that some functionality is enabled but not loaded. Therefore, load it and try again.