I am trying to run LXC on my R2S with latest 22.03.3, installed almost everything under "lxc-*", the luci interface has no any available template, and says "there are no template for your architecture aarch64 available" which looks weird, when I visited the preconfigured "images.linuxcontainers.org" I figured out that the architecture should be arm64, where do I force it to look for arm64 instead of aarch64?
OK I think I found an other way, not really a fix, but kind of alternative.
If I change to use "Turris" repo there seems to have a few standard linux lxc (not as many as the linuxcontainers.org one), at least better than none.
I am a little confused. What are you trying to achieve? What distro are you wanting to run in your container? Have you seen the lxc wiki article?
For reference, I am running Arch ARM in the container.
config container option name 'pihole' option timeout '10'
lxc.lxcpath = /mnt/mmcblk0p3/lxc
# Template used to create this container: /usr/share/lxc/templates/lxc-download # Parameters passed to the template: --dist archlinux --release current # Template script checksum (SHA-1): 8dff53d9a72ba3c071585c5762e2d14c57943cfa # For additional config options, please look at lxc.container.conf(5) # Uncomment the following line to support nesting containers: #lxc.include = /usr/share/lxc/config/nesting.conf # (Be aware this has security implications) # Distribution configuration lxc.include = /usr/share/lxc/config/common.conf lxc.arch = aarch64 # Container specific configuration #lxc.rootfs.path = dir:/srv/lxc/pihole/rootfs lxc.rootfs.path = dir:/mnt/mmcblk0p3/lxc/pihole/rootfs lxc.uts.name = pihole # Network configuration lxc.net.0.type = veth lxc.net.0.link = lxcbr0 lxc.net.0.flags = up lxc.net.0.ipv4.address = 10.0.4.250/24 lxc.net.0.ipv4.gateway = 10.0.4.1