[Sonarr](https://sonarr.tv/) (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available.
| COPY /root-out/ / # buildkit |
| ARG BUILD_DATE=2026-06-10T11:15:12+00:00 |
| ARG VERSION=5c5cd550-ls17 |
| ARG MODS_VERSION=v3 |
| ARG PKG_INST_VERSION=v1 |
| ARG LSIOWN_VERSION=v1 |
| ARG WITHCONTENV_VERSION=v1 |
| LABEL build_version=Linuxserver.io version:- 5c5cd550-ls17 Build-date:- 2026-06-10T11:15:12+00:00 |
| LABEL maintainer=TheLamer |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/package-install.v1 /etc/s6-overlay/s6-rc.d/init-mods-package-install/run # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/lsiown.v1 /usr/bin/lsiown # buildkit |
| ADD --chmod=755 https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/with-contenv.v1 /usr/bin/with-contenv # buildkit |
| ENV PS1=$(whoami)@$(hostname):$(pwd)\$ HOME=/root TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods VIRTUAL_ENV=/lsiopy PATH=/lsiopy/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| RUN |6 BUILD_DATE=2026-06-10T11:15:12+00:00 VERSION=5c5cd550-ls17 MODS_VERSION=v3 PKG_INST_VERSION=v1 LSIOWN_VERSION=v1 WITHCONTENV_VERSION=v1 /bin/sh -c echo "**** install runtime packages ****" && apk add --no-cache alpine-release bash ca-certificates catatonit coreutils curl findutils jq netcat-openbsd procps-ng shadow tzdata && echo "**** create abc user and make our folders ****" && groupmod -g 1000 users && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults /lsiopy && echo "**** cleanup ****" && rm -rf /tmp/* # buildkit |
| COPY root/ / # buildkit |
| ENTRYPOINT ["/init"] |
| ENV LSIO_FIRST_PARTY=true |
| ARG BUILD_DATE=2026-06-13T01:38:53+00:00 |
| ARG VERSION=4.0.17.2952-ls314 |
| ARG SONARR_VERSION=4.0.17.2952 |
| LABEL build_version=Linuxserver.io version:- 4.0.17.2952-ls314 Build-date:- 2026-06-13T01:38:53+00:00 |
| LABEL maintainer=thespad |
| ENV XDG_CONFIG_HOME=/config/xdg SONARR_CHANNEL=v4-stable SONARR_BRANCH=main COMPlus_EnableDiagnostics=0 TMPDIR=/run/sonarr-temp |
| RUN |3 BUILD_DATE=2026-06-13T01:38:53+00:00 VERSION=4.0.17.2952-ls314 SONARR_VERSION=4.0.17.2952 /bin/sh -c echo "**** install packages ****" && apk add --no-cache icu-libs sqlite-libs xmlstarlet && echo "**** install sonarr ****" && mkdir -p /app/sonarr/bin && if [ -z ${SONARR_VERSION+x} ]; then SONARR_VERSION=$(curl -sX GET http://services.sonarr.tv/v1/releases | jq -r "first(.[] | select(.releaseChannel==\"${SONARR_CHANNEL}\") | .version)"); fi && curl -o /tmp/sonarr.tar.gz -L "https://services.sonarr.tv/v1/update/${SONARR_BRANCH}/download?version=${SONARR_VERSION}&os=linuxmusl&runtime=netcore&arch=x64" && tar xzf /tmp/sonarr.tar.gz -C /app/sonarr/bin --strip-components=1 && echo -e "UpdateMethod=docker\nBranch=${SONARR_BRANCH}\nPackageVersion=${VERSION:-LocalBuild}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/sonarr/package_info && printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && echo "**** cleanup ****" && rm -rf /app/sonarr/bin/Sonarr.Update /tmp/* # buildkit |
| COPY root/ / # buildkit |
| EXPOSE [8989/tcp] |
| VOLUME [/config] |
| Key |
Value |
| build_version |
Linuxserver.io version:- 4.0.17.2952-ls314 Build-date:- 2026-06-13T01:38:53+00:00 |
| maintainer |
thespad |
| org.opencontainers.image.authors |
linuxserver.io |
| org.opencontainers.image.created |
2026-06-13T01:38:53+00:00 |
| org.opencontainers.image.description |
[Sonarr](https://sonarr.tv/) (formerly NZBdrone) is a PVR for usenet and bittorrent users. It can monitor multiple RSS feeds for new episodes of your favorite shows and will grab, sort and rename them. It can also be configured to automatically upgrade the quality of files already downloaded when a better quality format becomes available. |
| org.opencontainers.image.documentation |
https://docs.linuxserver.io/images/docker-sonarr |
| org.opencontainers.image.licenses |
GPL-3.0-only |
| org.opencontainers.image.ref.name |
4f608c83a6c27338ffe4fae846ef66058329b5ae |
| org.opencontainers.image.revision |
4f608c83a6c27338ffe4fae846ef66058329b5ae |
| org.opencontainers.image.source |
https://github.com/linuxserver/docker-sonarr |
| org.opencontainers.image.title |
Sonarr |
| org.opencontainers.image.url |
https://github.com/linuxserver/docker-sonarr/packages |
| org.opencontainers.image.vendor |
linuxserver.io |
| org.opencontainers.image.version |
4.0.17.2952-ls314 |