I wanted to try setting up a Plex Media Server on my Turris Omnia using LXC, but no matter which distro I try to download with lxc-create -t download I get:
Downloading the image index
Downloading the rootfs
ERROR: Failed to download http://repo.turris.cz/lxc//images/Debian/Stretch/aarch64/2019-12-11/rootfs.tar.xz
lxc-create: lxccontainer.c: create_run_template: 1201 container creation template for Plex failed
lxc-create: lxc_create.c: main: 274 Error creating container Plex
My Turris version is: 3.11.10
I was thinking to just swap out the lxc-download template file for the one from linuxcontainers.org, but they don’t have the aarch64 and armv7l architecture builds. Would the arm64 available there run fine on the Omnia?
Can you please include the full output in your post? Unfortunately, the snip which you included is not enough. It seems that you chose aarch64 for Turris Omnia, and the download fails, which is right. You should use armv7l.
I’ve just tried to install Debian Stretch on Turris Omnia and it works.
root@turris:~# lxc-create -t download -n example
Setting up the GPG keyring
Downloading the image index
---
DIST RELEASE ARCH VARIANT BUILD
---
Turris_OS stable armv7l default 2019-12-11
Turris_OS stable ppc default 2019-12-11
Alpine 3.9 armv7l default 2019-12-11
Alpine 3.9 aarch64 default 2019-12-11
Alpine 3.10 armv7l default 2019-12-11
Alpine 3.10 aarch64 default 2019-12-11
Alpine Edge armv7l default 2019-12-11
Alpine Edge aarch64 default 2019-12-11
ArchLinux latest armv7l default 2019-12-11
ArchLinux latest aarch64 default 2019-12-11
Debian Stretch armv7l default 2019-12-11
Debian Stretch aarch64 default 2019-12-11
Debian Buster armv7l default 2019-12-11
Debian Buster aarch64 default 2019-12-11
Gentoo stable armv7l default 2019-12-11
openSUSE 15.1 armv7l default 2019-12-11
openSUSE 15.1 aarch64 default 2019-12-11
openSUSE Tumbleweed armv7l default 2019-12-11
openSUSE Tumbleweed aarch64 default 2019-12-11
Sabayon 16 armv7l default 2019-12-11
Ubuntu Xenial armv7l default 2019-12-11
Ubuntu Xenial aarch64 default 2019-12-11
Ubuntu Bionic armv7l default 2019-12-11
Ubuntu Bionic aarch64 default 2019-12-11
Ubuntu Eoan armv7l default 2019-12-11
Ubuntu Eoan aarch64 default 2019-12-11
---
Distribution:
Debian
Release:
Stretch
Architecture:
armv7l
Downloading the image index
Downloading the rootfs
Downloading the metadata
The image cache is now ready
Unpacking the rootfs
---
Distribution Debian version Stretch was just installed as a container.
Content of the tarballs is provided by third party, thus there is no warranty of any kind nor support from Turris team.
Do not use containers on internal flash, they can wear it down really fast!!!