LXC on openWRT (Create LXC template for ramips/mt7621)


I would like to use lxc in order to isolate some processes like torrent downloading, in order to increase security. I am using the latest openWRT version (18.06.1) and I downloaded the lxc packages for my hardware:
system type : MediaTek MT7621 ver:1 eco:3
machine : ZBT-WG3526 (16M)
cpu model : MIPS 1004Kc V2.15

Unfortunately, lxc-create do not have a template to be used on mips architecture. Does anyone have some recipe on how to create a new image? It does not need to be Debian, it can be any linux, or openwrt.

PS: I tried debian but the interpreter is ld.so.1 instead of musl:


file hostname
hostname: ELF 32-bit LSB shared object, MIPS, MIPS32 rel2 version 1 (SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 3.2.0, BuildID[sha1]=ba5160b9c1faff19c09422ab4c01704a81427b09, stripped

file /bin/bash
/bin/bash: ELF 32-bit LSB executable, MIPS, MIPS32 rel2 version 1, dynamically linked, interpreter /lib/ld-musl-mipsel-sf.so.1, corrupted section header size

Has anyone been able to get a LXC container going running Debian on the mt7621 chipset yet? I have some RB750gr3's and would like to take this on if at all possible.

I want the same. It looks like lxc and the mips-architecture don't do well together. I should have bought a amd64 or arm.