</span></code></pre></div><h3id=resolution>Resolution<aclass=headerlinkhref=#resolutiontitle="Permanent link">¶</a></h3><h4id=long-term-fix>Long-Term Fix<aclass=headerlinkhref=#long-term-fixtitle="Permanent link">¶</a></h4><p>Upgrade your Docker engine to at least version <code>20.10.10</code>. <ahref=https://docs.docker.com/engine/install>Refer to the official Docker docs for installation/update details.</a></p><h4id=short-term-fix>Short-Term Fix<aclass=headerlinkhref=#short-term-fixtitle="Permanent link">¶</a></h4><p>For Docker CLI, run your container with:</p><p><code>--security-opt seccomp=unconfined</code></p><p>For Docker Compose, run your container with:</p><divclass="language-yaml highlight"><pre><span></span><code><spanid=__span-3-1><aid=__codelineno-3-1name=__codelineno-3-1href=#__codelineno-3-1></a><spanclass=nt>security_opt</span><spanclass=p>:</span>
</span></code></pre></div><h2id=rdesktop>My host is incompatible with images based on rdesktop<aclass=headerlinkhref=#rdesktoptitle="Permanent link">¶</a></h2><p>Some x86_64 hosts have issues running rdesktop based images even with the latest Docker version due to syscalls that are unknown to Docker.</p><h3id=symptoms_1>Symptoms<aclass=headerlinkhref=#symptoms_1title="Permanent link">¶</a></h3><p>If your host is affected you may see errors in your containers such as:</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-4-1><aid=__codelineno-4-1name=__codelineno-4-1href=#__codelineno-4-1></a>Failed to close file descriptor for child process (Operation not permitted)
</span></code></pre></div><h3id=resolution_1>Resolution<aclass=headerlinkhref=#resolution_1title="Permanent link">¶</a></h3><p>For Docker CLI, run your container with:</p><p><code>--security-opt seccomp=unconfined</code></p><p>For Docker Compose, run your container with:</p><divclass="language-yaml highlight"><pre><span></span><code><spanid=__span-5-1><aid=__codelineno-5-1name=__codelineno-5-1href=#__codelineno-5-1></a><spanclass=w></span><spanclass=nt>security_opt</span><spanclass=p>:</span>
</span></code></pre></div><h2id=libseccomp>My host is incompatible with images based on Ubuntu Focal and Alpine 3.13 and later<aclass=headerlinkhref=#libseccomptitle="Permanent link">¶</a></h2><p>This only affects 32 bit installs of distros based on Debian Buster.</p><p>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.</p><p><ahref=https://github.com/moby/moby/issues/40734>A GitHub issue tracking this</a></p><p>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).</p><h3id=resolution_2>Resolution<aclass=headerlinkhref=#resolution_2title="Permanent link">¶</a></h3><p>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.</p><p>If 1 or 2 did not work, ensure your Docker install is at least version 20.10.0, <ahref=https://docs.docker.com/engine/install/debian/>refer to the official Docker docs for installation.</a></p><h4id=manual-patch>Manual patch<aclass=headerlinkhref=#manual-patchtitle="Permanent link">¶</a></h4><p>Manually install an updated version of the library with dpkg.</p><divclass="language-shell highlight"><pre><span></span><code><spanid=__span-6-1><aid=__codelineno-6-1name=__codelineno-6-1href=#__codelineno-6-1></a>wget<spanclass=w></span>http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.4.4-1~bpo10+1_armhf.deb
</span></code></pre></div><divclass="admonition info"><pclass=admonition-title>Info</p><p>This url may have been updated. Find the latest by browsing <ahref=http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/>here</a>.</p></div><h4id=automatic-patch>Automatic Patch<aclass=headerlinkhref=#automatic-patchtitle="Permanent link">¶</a></h4><p>Add the backports repo for DebianBuster. As seen <ahref=https://github.com/linuxserver/docker-jellyfin/issues/71#issuecomment-733621693>here</a>.</p><divclass="language-shell highlight"><pre><span></span><code><spanid=__span-7-1><aid=__codelineno-7-1name=__codelineno-7-1href=#__codelineno-7-1></a>sudo<spanclass=w></span>apt-key<spanclass=w></span>adv<spanclass=w></span>--keyserver<spanclass=w></span>keyserver.ubuntu.com<spanclass=w></span>--recv-keys<spanclass=w></span>04EE7237B7D453EC<spanclass=w></span>648ACFD622F3D138
</span></code></pre></div><h4id=move-to-a-compatible-os>Move to a compatible OS<aclass=headerlinkhref=#move-to-a-compatible-ostitle="Permanent link">¶</a></h4><p>Reinstall/update your OS to a version that still gets updates.</p><ul><li>Any distro based on DebianStretch does not seem to have this package available</li><li>DebianBuster based distros can get the package trough backports, as outlined in point 2.</li></ul><divclass="admonition info"><pclass=admonition-title>Info</p><p>RaspberryPI OS (formerly Raspbian) Can be upgraded to run with a 64bit kernel</p></div><h3id=symptoms_2>Symptoms<aclass=headerlinkhref=#symptoms_2title="Permanent link">¶</a></h3><ul><li>502 errors in <strong>Jellyfin</strong> as seen in <ahref=https://github.com/linuxserver/docker-jellyfin/issues/71>linuxserver/docker-jellyfin#71</a></li><li><code>Error starting framework core</code> messages in the docker log for <strong>Plex</strong>. <ahref=https://github.com/linuxserver/docker-plex/issues/247>linuxserver/docker-plex#247</a></li><li>No WebUI for <strong>Radarr</strong>, even though the container is running. <ahref=https://github.com/linuxserver/docker-radarr/issues/118>linuxserver/docker-radarr#118</a></li><li>Images based on our Nginx base-image(Nextcloud, SWAG, Nginx, etc.) fails to generate a certificate, with a message similar to <code>error getting time:crypto/asn1/a_time.c:330</code></li><li><code>docker exec <container-name> date</code> returns 1970</li></ul><h2id=storage>My host filesystem is incompatible with my docker storage driver<aclass=headerlinkhref=#storagetitle="Permanent link">¶</a></h2><p>Some host file systems types are not compatible with the default storage driver of docker (overlay2)</p><h3id=symptoms_3>Symptoms<aclass=headerlinkhref=#symptoms_3title="Permanent link">¶</a></h3><p>If your host is affected you may see errors in your containers such as:</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-8-1><aid=__codelineno-8-1name=__codelineno-8-1href=#__codelineno-8-1></a>ERROR Found no accessible config files
</span></code></pre></div><p>or</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-9-1><aid=__codelineno-9-1name=__codelineno-9-1href=#__codelineno-9-1></a>Directory not empty. This directory contains an empty ignorecommands sub-directory
</span></code></pre></div><h3id=resolution_3>Resolution<aclass=headerlinkhref=#resolution_3title="Permanent link">¶</a></h3><p>As shown in <ahref=https://docs.docker.com/storage/storagedriver/select-storage-driver/#supported-backing-filesystems>Docker docs</a></p><p>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.</p><h2id=lscr>What is lscr.io<aclass=headerlinkhref=#lscrtitle="Permanent link">¶</a></h2><p>LSCR is a vanity url for our images, this is provided to us in collaboration with <ahref=https://about.scarf.sh/>scarf.sh</a>. It is not a dedicated docker registry, rather a redirection service. As of writing it redirects to GitHub Container Registry (ghcr.io).</p><p>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).</p><p>We have some blog posts related to how we utilize Scarf:</p><ul><li><ahref=https://www.linuxserver.io/blog/end-of-an-arch>End of an Arch</a></li><li><ahref=https://www.linuxserver.io/blog/unravelling-some-stats>Unravelling Some Stats</a></li><li><ahref=https://www.linuxserver.io/blog/wrap-up-warm-for-the-winter>Wrap Up Warm For Winter</a></li></ul><h3id=lscr-no-connect>I cannot connect to lscr.io<aclass=headerlinkhref=#lscr-no-connecttitle="Permanent link">¶</a></h3><p>Due to the nature of Scarf as a Docker gateway which gathers usage metrics, some overzealous privacy-focused blocklists will include its domains.</p><p>If you want to help us in getting a better overview of how people use our containers, you should add <code>gateway.scarf.sh</code> to the allowlist in your blocklist solution.</p><p>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.</p><p>If Scarf is on the blocklist, you will get an error message like this when trying to pull an image:</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-10-1><aid=__codelineno-10-1name=__codelineno-10-1href=#__codelineno-10-1></a>Error response from daemon: Get "https://lscr.io/v2/": dial tcp: lookup lscr.io: no such host
</span></code></pre></div><p>This is, however, a generic message. To rule out a service-interruption, you should also see if you can resolve the backend provider.</p><p>Using dig:</p><divclass="language-shell highlight"><pre><span></span><code><spanid=__span-11-1><aid=__codelineno-11-1name=__codelineno-11-1href=#__codelineno-11-1></a>dig<spanclass=w></span>ghcr.io<spanclass=w></span>+short
</span></code></pre></div><p>If you only got a response from ghcr, chances are that Scarf is on the blocklist.</p><h2id=strict-proxy>I want to reverse proxy an application which defaults to https with a self-signed certificate<aclass=headerlinkhref=#strict-proxytitle="Permanent link">¶</a></h2><h3id=strict-proxy-traefik>Traefik<aclass=headerlinkhref=#strict-proxy-traefiktitle="Permanent link">¶</a></h3><p>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.</p><p>Create a <ahref=https://doc.traefik.io/traefik/routing/services/#serverstransport_1>ServerTransport</a> in your dynamic Traefik configuration; we are calling ours <code>ignorecert</code>.</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-13-1><aid=__codelineno-13-1name=__codelineno-13-1href=#__codelineno-13-1></a> http:
</span></code></pre></div><p>Then on our <code>foo</code> service we tell it to use this rule, as well as telling Traefik the backend is running on https.</p><divclass="language-text highlight"><pre><span></span><code><spanid=__span-14-1><aid=__codelineno-14-1name=__codelineno-14-1href=#__codelineno-14-1></a> - traefik.http.services.foo.loadbalancer.serverstransport=ignorecert