Mods
Extend an image at start-up
A mod is a small layer applied when the container starts, set with the DOCKER_MODS environment variable. Universal mods work with every image; the rest target one.
- Mods
- 98
- Universal mods
- 14
- Images with mods
- 25
- updated
How to use a mod
Add -e DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-git to your run command, or an environment: entry in compose. Several mods are separated with|. The mod is pulled on every start, so pin a specific mod tag if you need reproducibility.
How to contribute a mod
Most of these mods were written by users who needed them. A mod is a Dockerfile, a few scripts and a mod.yml on its own branch of docker-mods: start from the template, test it against a real container, then open a pull request. An AI agent in our harness can write and test it with you, so you don't need to know the init system first.
Making a mod Contributing with an AI agent docker-mods on GitHub (opens in a new tab)
77 image-specific and 13 universal mods
Image-specific
This mod adds drop2beets to beets, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:beets-drop2beetsA LinuxServer.io Docker Mod for the beets container that adds a lightweight HTTP API to execute beet CLI commands remotely.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:beets-httpshellThis adds a new metadata provider for calibre-web which will look for information on DriveThruRPG.com
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:calibre-web-dtrpg-metadataThis mod adds KCC and its multitude of ebook processing (upscale, stretch, right to left for manga...) to Calibre Web, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:calibre-web-kccThis mod adds AWSCLI to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-awscliThis mod adds bat to code-server, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-batThis mod adds .NET CORE SDK to code-server and openvscode-server.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-dotnetThis mod installs code-server/openvscode-server extensions at startup. The list of extensions to be installed should be provided using environment variable VSCODEEXTENSIONIDS separated by |.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-extension-argumentsThis mod adds a Flutter beta dev environment to code-server and openvscode-server, to be installed/updated during container start. The environment is already configured to run browser apps.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-flutterThis mod adds golang/go to code-server and openvscode-server.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-golangThis mod adds a java11 dev environment to code-server and openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-java11This mod adds a Julia dev environment to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-juliaThis mod adds a nodejs dev environment to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-nodejsThis mod sets the NPM global folder to /config in code-server/openvscode-server during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-npmglobalThis mod adds Node Version Manager to linuxserver/code-server and linuxserver/openvscode-server, to be installed during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-nvmThis mod adds php and composer to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-phpThis mod adds php-cli and composer to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-php-cliThis mod adds php8.2 and composer to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-php8This mod adds PNPM to linuxserver/code-server and linuxserver/openvscode-server, to be installed during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-pnpmThis mod adds PowerShell to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-powershellThis mod adds prolog to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-prologThis mod adds a python3 dev environment to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-python3This mod adds a python3 dev environment to code-server/openvscode-server, to be installed/updated during container start, setting up a python3 environment with poetry.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-python3-poetryThis mod adds a R dev environment to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-rThis mod adds rbenv to code-server, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-rbenvThis mod adds ROS2 to code-server and openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-ros2This mod adds Rust to code-server and openvscode-server.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-rustThis mod adds scikit-learn and jupyter to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-scikit-learnThis mod adds ShellCheck to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-shellcheckThis mod adds SSL capabilities to code-server.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-sslThis mod installs subversion and the SVN extension into code-server/openvscode-server at startup.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-svnThis mod adds the Terraform binary and extension to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-terraformThis mod adds zsh and Oh My Zsh to code-server/openvscode-server, to be installed/updated during container start.
also for openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-zshThis mod adds support for the Emby's MediaInfo plugin https://github.com/Cheesegeezer/MediaInfoWiki/wiki for Linuxserver.io's Emby container https://github.com/linuxserver/docker-emby.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:emby-mediainfo-pluginThis mod adds font packages to firefox, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:firefox-fontsThis is a docker mod layer adding Apprise to the linuxserver/docker-healthchecks docker image.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:healthchecks-appriseThis mod adds Home Assistant Community Store (HACS) to Home Assistant, to be installed during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:homeassistant-hacsThis mod adds heyu to homeassistant, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:homeassistant-heyuThis mod adds the mesa libraries (v20.1+) needed for hardware encoding (VAAPI) on AMD GPUs to the Jellyfin Docker container (latest tag).
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:jellyfin-amdThis mod adds opencl-intel to jellyfin, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:jellyfin-opencl-intelThis mod adds rffmpeg to Linuxserver.io's Jellyfin https://github.com/linuxserver/docker-jellyfin.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:jellyfin-rffmpegThis mod adds ffmpeg to lazylibrarian, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:lazylibrarian-ffmpegA Docker Mod for the LinuxServer.io Lidarr Docker container that uses ffmpeg and a script to automatically convert downloaded FLAC (or other format) files to MP3s. Default output quality is 320Kbps constant bit rate.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:lidarr-flac2mp3This mod adds the NetBox DNS plugin (PyPI: netbox-plugin-dns) to a netbox container.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:netbox-dnsThis mod adds the slurpit plugin to a netbox container.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:netbox-slurpitThis mod adds the required and optional packages the MediaDC nextcloud app needs to work. Optional dependency Scipy is only installed on x8664 as there are no wheels available for arm64v8.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-mediadcThis mod adds the required packages the Memories nextcloud app needs to work.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-memoriesThis mod adds a service to start the notify-push binary.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-pushThis mod adds some of the proxy-conf functionality that is baked into SWAG, to Nginx.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nginx-proxy-confsThis mod adds autossh to openssh-server, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-autosshThis mod adds git to openssh-server, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-gitThis mod adds rsync to openssh-server, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-rsyncThis mod adds ssh tunnelling to openssh-server, by enabling tcp forwarding during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-ssh-tunnelThis mod allow the configuration of the TrustedUserCAKeys directive, which allows ssh authentication using certificates.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-trusted-caThis mod adds Absolute Series Scanner and Hama to Plex, to be downloaded/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-absolute-hamaThis mod adds djdembeck/Audnexus.bundle.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-audnexusThis mod removes all codec subfolders from Plex's /config/Library/Application Support/Plex Media Server/Codecs/ folder, preserves the .device-id, and allows Plex to repopulate the codecs folder while starting up.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-remove-codecsThis mod adds installation options for adding translations to the Docker image of LinuxServer.io for ProjectSend.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translationsA Docker Mod for the LinuxServer.io Radarr/Sonarr v3 or higher Docker containers that adds a script to automatically strip out unwanted audio and subtitle tracks, keeping only the desired languages. A Batch Mode is also supported that allows usage outside of Radarr/Sonarr.
also for sonarr
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:radarr-striptracksThis mod gives SWAG the ability to auto-detect running containers via labels and automatically enable reverse proxy for them.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-auto-proxyThis mod gives SWAG the ability to automatically add Uptime Kuma "Monitors" for the running containers. Ultimately it will allow you with a very low effort to setup notifications whenever any of your services goes down etc.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-auto-uptime-kumaWrites Cloudflare's edge IP ranges to /config/nginx/cf_real-ip.conf as set_real_ip_from directives at startup, so nginx sees the visitor's real IP behind Cloudflare.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-cloudflare-real-ipMake sure that the line below, under virtual hosts, is in your nginx.conf, otherwise crowdsec-bouncer will not work. More information here https://info.linuxserver.io/issues/2022-08-20-nginx-base/
also for nginx
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-crowdsecThis mod adds a dashboard to SWAG powered by Goaccess.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-dashboardDownloads the free DB-IP country lite GeoIP2 database to /config/geoip2db and refreshes it weekly, with an nginx geoip2 config for allowing or blocking countries and continents.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-dbipThis mod adds ffmpeg to swag, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ffmpegThis mod adds a python script that sends geo location metrics from the nginx access log to InfluxDB
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-geoip2influxThis mod adds imagemagick and the php imagick module to nginx/swag, to be installed/updated during container start.
also for nginx
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-imagemagickThis mod adds Ioncube loader to SWAG/nginx, to be installed/updated during container start.
also for nginx
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ioncubeThis mod downloads the ipinfolite.mmdb database under /config/geoip2db, the database is updated daily.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ipinfoThis mod adds the maxmind database to nginx using the license key defined in the environment variable.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-maxmindThis mod gives SWAG the ability to start containers on-demand when accessed through SWAG and stop them after a period of inactivity. It takes a few seconds for containers to start on-demand, you'll need to refresh the tab or add a loading page as detailed below.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ondemandThis mod sets Transmission settings provided via environment variables.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-env-var-settingsThis mod adds Flood For Transmission to Transmission, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-flooduiThis mod adds Transmissionic to Transmission, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-transmissionicThis mod adds TrguiNG to Transmission, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-trguingThis mod adds a script which runs on service startup to communicate with the Mullvad APIs. This obtains the relevant config for a chosen Wireguard node which the container can tunnel through when running in CLIENT mode.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:wireguard-mullvad
Universal (any image)
apprise
universalThis mod adds apprise to any container, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-appriseCalibre
universalThis mod adds the calibre binary to calibre-web, or other 64-bit Ubuntu-based containers, for ebook conversions.
suggested for calibre-web, lazylibrarian
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-calibreCloudflared
universalIf no additional parameters are supplied this mod adds cloudflared using the latest release tag to any LSIO docker image, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-cloudflaredcron
universalThis mod adds cron to any container, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-cronDocker
universalThis mod adds the docker binary as wells as the buildx and the compose plug-ins to any linuxserver image.
suggested for code-server, openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-dockerDocker-in-docker (dind)
universalThis mod adds docker-in-docker (dind) to Ubuntu and Alpine based images, to be installed/updated during container start. Main advantage is that all docker images, containers, volumes, etc. will reside inside the container and will be sandboxed from the host's docker environment.
suggested for code-server, openvscode-server, vscodium-web
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-docker-in-dockergit
universalThis mod adds git to any container, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-gitInternationalization
universalThis mod adds fonts and locales to an image, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-internationalizationPackage install
universalInstalls any OS or Python packages named in INSTALL_PACKAGES and INSTALL_PIP_PACKAGES during container start, on Ubuntu and Alpine based images.
2 settings
INSTALL_PACKAGES· OS packages to install, separated by `|` (e.g. `rsync|git|nginx`). Names must match the distro repo (pkgs.alpinelinux.org or packages.ubuntu.com); pin a version with `name=version` on apt or `name==version` on apk.INSTALL_PIP_PACKAGES· Python packages to install with pip, separated by `|` (e.g. `apprise` or `apprise==1.10.0`). Setting it also installs python3-dev and pip, upgrades pip, setuptools and wheel, and adds the LinuxServer wheel index for the distro.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-package-installRedis
universalThis mod adds redis to any container, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-redisstdout-logs
universalThis mod allows any specified log files to be tailed and included in the container's STDOUT.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-stdout-logsTroubleshooting tools
universalAdds common network troubleshooting tools (dig, nslookup, netstat, ping, traceroute) to any container, installed during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-tshootunrar6
universalThis mod adds unrar version 6 to any container, to be installed/updated during container start.
DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-unrar6
Community project
Can't find the mod you need? Make it.
Most of these mods were written by users who needed them. A mod is a Dockerfile, a few scripts and a mod.yml; an AI agent in our harness writes it with you, applies it to a real container in your Docker and drafts the pull request.
Ask your agent
- Make a mod that installs <tool> into <image>, and test it.
- Make a universal mod that <what you need> in any image, and test it.
Making a mod Every way to help Get the harness (opens in a new tab)
Source: api/v1/mods.json.