Sign in

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-drop2beets
  • A 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-httpshell
  • This 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-metadata
  • This 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-kcc
  • This 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-awscli
  • This mod adds bat to code-server, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-bat
  • This 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-dotnet
  • This 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-arguments
  • This 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-flutter
  • This 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-golang
  • This 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-java11
  • This 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-julia
  • This 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-nodejs
  • This 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-npmglobal
  • This 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-nvm
  • This 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-php
  • This 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-cli
  • This 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-php8
  • This 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-pnpm
  • This 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-powershell
  • This 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-prolog
  • This 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-python3
  • This 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-poetry
  • This 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-r
  • This mod adds rbenv to code-server, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-rbenv
  • This 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-ros2
  • This mod adds Rust to code-server and openvscode-server.

    also for openvscode-server, vscodium-web

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-rust
  • This 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-learn
  • This 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-shellcheck
  • This mod adds SSL capabilities to code-server.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:code-server-ssl
  • This 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-svn
  • This 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-terraform
  • This 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-zsh
  • This 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-plugin
  • This mod adds font packages to firefox, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:firefox-fonts
  • This is a docker mod layer adding Apprise to the linuxserver/docker-healthchecks docker image.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:healthchecks-apprise
  • This mod adds Home Assistant Community Store (HACS) to Home Assistant, to be installed during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:homeassistant-hacs
  • This mod adds heyu to homeassistant, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:homeassistant-heyu
  • This 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-amd
  • This mod adds opencl-intel to jellyfin, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:jellyfin-opencl-intel
  • This mod adds rffmpeg to Linuxserver.io's Jellyfin https://github.com/linuxserver/docker-jellyfin.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:jellyfin-rffmpeg
  • This mod adds ffmpeg to lazylibrarian, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:lazylibrarian-ffmpeg
  • A 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-flac2mp3
  • This mod adds the NetBox DNS plugin (PyPI: netbox-plugin-dns) to a netbox container.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:netbox-dns
  • This mod adds the slurpit plugin to a netbox container.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:netbox-slurpit
  • This 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-mediadc
  • This mod adds the required packages the Memories nextcloud app needs to work.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-memories
  • This mod adds a service to start the notify-push binary.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nextcloud-notify-push
  • This mod adds some of the proxy-conf functionality that is baked into SWAG, to Nginx.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:nginx-proxy-confs
  • This mod adds autossh to openssh-server, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-autossh
  • This mod adds git to openssh-server, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-git
  • This mod adds rsync to openssh-server, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-rsync
  • This mod adds ssh tunnelling to openssh-server, by enabling tcp forwarding during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-ssh-tunnel
  • This mod allow the configuration of the TrustedUserCAKeys directive, which allows ssh authentication using certificates.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:openssh-server-trusted-ca
  • This 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-hama
  • This mod adds djdembeck/Audnexus.bundle.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:plex-audnexus
  • This 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-codecs
  • This mod adds installation options for adding translations to the Docker image of LinuxServer.io for ProjectSend.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:projectsend-translations
  • A 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-striptracks
  • This 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-proxy
  • This 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-kuma
  • Writes 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-ip
  • Make 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-crowdsec
  • This mod adds a dashboard to SWAG powered by Goaccess.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-dashboard
  • Downloads 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-dbip
  • This mod adds ffmpeg to swag, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ffmpeg
  • This 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-geoip2influx
  • This 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-imagemagick
  • This 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-ioncube
  • This mod downloads the ipinfolite.mmdb database under /config/geoip2db, the database is updated daily.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-ipinfo
  • This mod adds the maxmind database to nginx using the license key defined in the environment variable.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:swag-maxmind
  • This 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-ondemand
  • This mod sets Transmission settings provided via environment variables.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-env-var-settings
  • This mod adds Flood For Transmission to Transmission, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-floodui
  • This mod adds Transmissionic to Transmission, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-transmissionic
  • This mod adds TrguiNG to Transmission, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:transmission-trguing
  • This 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

    universal

    This mod adds apprise to any container, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-apprise
  • Calibre

    universal

    This 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-calibre
  • Cloudflared

    universal

    If 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-cloudflared
  • cron

    universal

    This mod adds cron to any container, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-cron
  • Docker

    universal

    This 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-docker
  • This 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-docker
  • git

    universal

    This mod adds git to any container, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-git
  • This mod adds fonts and locales to an image, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-internationalization
  • Installs 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-install
  • Redis

    universal

    This mod adds redis to any container, to be installed/updated during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-redis
  • stdout-logs

    universal

    This 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-logs
  • Adds common network troubleshooting tools (dig, nslookup, netstat, ping, traceroute) to any container, installed during container start.

    DOCKER_MODS=ghcr.io/linuxserver-playground/mods:universal-tshoot
  • unrar6

    universal

    This 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.