Run openwrt inside lxd

Hello,

I have published my own scripts which builds lxd images from openwrt rootfs tar balls. The images can be used in unprivileged containers which I think is an advantage.

The scripts build a patched version of procd which doesn’t remount /dev and other file systems to allow it to run in unprivileged mode.

Two architectures are supported, x86_64 and i686. Currently 17.04.1 is supported. Snapshot is not fully supported since an older version of procd is used in the created image.

Usage: ./build.sh [-a|--arch <x86_64|i686>] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [--help]

https://github.com/mikma/lxd-openwrt

1 Like