FAQ¶
Here resides some Frequently Asked Questions.
My host is incompatible with images based on Ubuntu Jammy¶
Some x86_64 hosts running older versions of the Docker engine are not compatible with some images based on Ubuntu Jammy.
Symptoms¶
If your host is affected you may see errors in your containers such as:
Or
Or
Resolution¶
Long-Term Fix¶
Upgrade your Docker engine to at least version 20.10.10
. Refer to the official Docker docs for installation/update details.
Short-Term Fix¶
For Docker CLI, run your container with:
--security-opt seccomp=unconfined
For Docker Compose, run your container with:
My host is incompatible with images based on rdesktop¶
Some x86_64 hosts have issues running rdesktop based images even with the latest Docker version due to syscalls that are unknown to Docker.
Symptoms¶
If your host is affected you may see errors in your containers such as:
Resolution¶
For Docker CLI, run your container with:
--security-opt seccomp=unconfined
For Docker Compose, run your container with:
My host is incompatible with images based on Ubuntu Focal and Alpine 3.13 and later¶
This only affects 32 bit installs of distros based on Debian Buster.
This is due to a bug in the libseccomp2 library (dependency of Docker itself), which is fixed. However, it's not pushed to all the repositories.
You have a few options as noted below. Options 1 is short-term, while option 2 is considered the best option if you don't plan to reinstall the device (option 3).
Resolution¶
If you decide to do option 1 or 2, you should just need to restart the container after confirming you have libseccomp2.4.4 installed.
If 1 or 2 did not work, ensure your Docker install is at least version 20.10.0, refer to the official Docker docs for installation.
Manual patch¶
Manually install an updated version of the library with dpkg.
wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.4.4-1~bpo10+1_armhf.deb
sudo dpkg -i libseccomp2_2.4.4-1~bpo10+1_armhf.deb
Info
This url may have been updated. Find the latest by browsing here.
Automatic Patch¶
Add the backports repo for DebianBuster. As seen here.
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC 648ACFD622F3D138
echo "deb http://deb.debian.org/debian buster-backports main" | sudo tee -a /etc/apt/sources.list.d/buster-backports.list
sudo apt update
sudo apt install -t buster-backports libseccomp2
Move to a compatible OS¶
Reinstall/update your OS to a version that still gets updates.
- Any distro based on DebianStretch does not seem to have this package available
- DebianBuster based distros can get the package trough backports, as outlined in point 2.
Info
RaspberryPI OS (formerly Raspbian) Can be upgraded to run with a 64bit kernel
Symptoms¶
- 502 errors in Jellyfin as seen in linuxserver/docker-jellyfin#71
Error starting framework core
messages in the docker log for Plex. linuxserver/docker-plex#247- No WebUI for Radarr, even though the container is running. linuxserver/docker-radarr#118
- Images based on our Nginx base-image(Nextcloud, SWAG, Nginx, etc.) fails to generate a certificate, with a message similar to
error getting time:crypto/asn1/a_time.c:330
docker exec <container-name> date
returns 1970
My host filesystem is incompatible with my docker storage driver¶
Some host file systems types are not compatible with the default storage driver of docker (overlay2)
Symptoms¶
If your host is affected you may see errors in your containers such as:
or
Resolution¶
As shown in Docker docs
A host filesystem of zfs requires a docker storage driver of zfs and a host file system of btrfs requires a docker storage driver of btrfs. Correcting this oversight will resolve the issue. This is not something that a container change will resolve.
What is lscr.io¶
LSCR is a vanity url for our images, this is provided to us in collaboration with scarf.sh. It is not a dedicated docker registry, rather a redirection service. As of writing it redirects to GitHub Container Registry (ghcr.io).
Aside from giving us the ability to redirect to another backend, if necessary, it also exposes telemetry about pulls, historically only available to the backend provider. We base some decisions on this data, as it gives us a somewhat realistic usage overview (relative to just looking at pulls on DockerHub).
We have some blog posts related to how we utilize Scarf:
I cannot connect to lscr.io¶
Due to the nature of Scarf as a Docker gateway which gathers usage metrics, some overzealous privacy-focused blocklists will include its domains.
If you want to help us in getting a better overview of how people use our containers, you should add gateway.scarf.sh
to the allowlist in your blocklist solution.
Alternatively, you can use Docker Hub or GHCR directly to pull your images, although be aware that all public registries gather user metrics, so this doesn't provide you with any real benefit in that area.
If Scarf is on the blocklist, you will get an error message like this when trying to pull an image:
This is, however, a generic message. To rule out a service-interruption, you should also see if you can resolve the backend provider.
Using dig:
Using nslookup:
If you only got a response from ghcr, chances are that Scarf is on the blocklist.
I want to reverse proxy an application which defaults to https with a self-signed certificate¶
Traefik¶
In this example, we will configure a serverTransport rule we can apply to a service, as well as telling Traefik to use https on the backend for the service.
Create a ServerTransport in your dynamic Traefik configuration; we are calling ours ignorecert
.
Then on our foo
service we tell it to use this rule, as well as telling Traefik the backend is running on https.
- traefik.http.services.foo.loadbalancer.serverstransport=ignorecert
- traefik.http.services.foo.loadbalancer.server.scheme=https
Why does LinuxServer.io recommend to use docker-compose over Portainer?¶
Portainer has many issues which make it hard for us to support, such as:
- Advanced settings are hidden and some aren't available at all
- Incorrect order of source and target of mounts
- Inconsistent case-sensitivity
- No automatically created custom networks for inter-container communication
- Inconsistent compose implementations on different architectures
- Incorrectly applying environment variables on container upgrades