On OpenMediaVault 8, use the openmediavault-compose plugin from omv-extras to set up Docker and Docker Compose. Check the Docker repo under System > omv-extras and enable it if needed. Install openmediavault-compose 8.x from System > Plugins, then set shared folders for compose files, backups and Docker storage in its Settings tab. You can then manage the stacks you set up through the plugin from the web interface.
The omv-extras changelog records that omv-extras 6.3 moved Docker and Portainer installation to the compose plugin in May 2023. OpenMediaVault 8 “Synchrony” runs on Debian 13. OMV 7 reached end of life in June 2026. OpenMediaVault release table
Evidence note: this guide follows the omv-extras wiki pages for OMV 8, the compose plugin’s changelog, Salt state and Settings form, the OMV release table and the OMV 8 announcement. The changelog covers openmediavault-compose through 8.2.8. These steps were not run on local hardware.
Who this is for, and who should skip it
You want a handful of containers on the box that already serves your SMB shares: a media server, a photo backup target, maybe a download client. OMV 8 supports AMD64 and ARM64 only.
On a Raspberry Pi, complete the OpenMediaVault installation before adding Compose.
What does the OMV compose plugin install?
In Docker mode, the openmediavault-compose plugin installs Docker Engine (docker-ce, docker-ce-cli, containerd.io), docker-buildx-plugin and the docker-compose-plugin package that provides docker compose. These packages come from Docker’s apt repository. When the plugin deploys Docker with a storage path set, it also writes /etc/docker/daemon.json. The plugin itself is the web interface over those tools.
The list comes from the plugin’s Salt deploy state:
| Component | Package or file | Role on the NAS |
|---|---|---|
| Docker Engine | docker-ce, docker-ce-cli, containerd.io | Runs the containers |
| Compose plugin | docker-compose-plugin | The docker compose command behind Up, Pull and Down |
| Image builds | docker-buildx-plugin | Adds Docker Buildx for image builds |
| Daemon config | /etc/docker/daemon.json | Sets data-root to your storage path and writes live-restore if enabled. With a Docker storage path set, the plugin writes json-file rotation settings when Log File Max Size is greater than zero (50 MB by default), with up to three files kept. A value of 0 leaves the plugin’s rotation settings out of daemon.json. |
| Container terminal | openmediavault-cterm | Installed alongside unless OMV_NO_CTERM_DEPENDENCY is enabled |
openmediavault-cterm adds a container exec terminal. The Salt state installs it with the compose plugin unless OMV_NO_CTERM_DEPENDENCY is enabled.
The plugin’s package list does not pin a Docker version. Docker’s Debian install page lists Debian 13 Trixie among its supported releases and both amd64 and arm64 among its architectures, which covers everything OMV 8 runs on. The plugin’s changelog starts the 8.x line on 28 September 2025, before OMV 8.0.1 was announced on 24 December 2025.
Debian’s docker.io package conflicts with Docker’s official packages. Remove docker.io before installing the official packages. The plugin fully manages only containers created through the OMV interface, per the plugin wiki. Autocompose generates .yaml and .env files from a running container created outside the plugin. In Files, review the generated configuration, run Check, then click Up to deploy the stack. Docker in OMV 8: Autocompose section
omv-extras, the Docker repo, the plugin
omv-extras is the third-party plugin repository that carries the compose plugin. Install it as root with the one-liner from the maintainers’ README:
wget -O - https://github.com/OpenMediaVault-Plugin-Developers/packages/raw/master/install | bash
Before piping anything into bash as root, read what omv-extras changes on an OMV 8 system. Then, in the web interface, following the wiki’s Docker in OMV 8 page:
- SYSTEM > OMV-EXTRAS, enable DOCKER REPO, SAVE. This adds Docker’s own apt repository, the source of the
docker-compose-pluginpackage that providesdocker compose. - SYSTEM > PLUGINS, select openmediavault-compose 8.x, INSTALL.
Since plugin 8.1 (December 2025), installing the plugin enables the Docker repo. You can use the first step to check that the repo is enabled. The install pulls in openmediavault-sharerootfs as a dependency. Leave it alone: uninstalling it removes the compose plugin with it.
Decide where everything lives before you start anything
The plugin’s Settings tab (SERVICES > COMPOSE > SETTINGS) has settings for four locations. The folder names below follow the wiki’s examples.
- appdata holds compose files in one subfolder per stack. The Jellyfin example keeps its
./configdirectory here, next to the YAML. - data points to bulk data such as a media library. Set it for compose files that use
CHANGE_TO_COMPOSE_DATA_PATH, which the plugin swaps for the folder’s real path. - backup_compose: where the scheduled backup writes.
- docker: Docker’s data directory, which holds named volume data stored locally with the default volume settings. Its default path is
/var/lib/dockeron the OS disk. Enable Use shared folder and select the Docker shared folder. Click Save, then click Reinstall Docker.
The wiki recommends keeping the Docker folder off the OS drive. It warns against putting Docker on the OMV USB flash drive, in a mergerfs pool or on NTFS. Use ext4 on a separate drive if you can, entered as a full absolute path with no symlinks. In a mergerfs pool, Docker’s internal files can be spread across multiple drives. See the FAQ below for Docker drive sizes and the OMV 8 hardware requirements for OS drive planning. See also OpenMediaVault NAS planning.
If you use NVIDIA drivers inside containers for hardware transcoding, the wiki says to leave the storage path empty. Changing it can corrupt the NVIDIA configuration when OMV reconfigures.
When the Compose plugin deploys its Docker configuration with a storage path set, it rewrites /etc/docker/daemon.json. Compose Salt state To manage that file yourself, leave the Docker storage field empty and edit the file directly. Docker in OMV 8 When enabled, Live Restore keeps containers running while the Docker daemon restarts.
By default the plugin creates compose folders and files restricted to root. The wiki recommends a dedicated appuser created in the GUI with rights on the shared folders. It warns against assigning admin (UID 998) or root (UID 0) to manage a container outside very controlled cases. Keep appuser out of the docker group, as the omv-extras wiki warns. Docker in OMV 8 See creating a shared folder in OpenMediaVault.
After Reinstall Docker, confirm the result from the shell:
docker compose version
docker info
In the docker info output, read Docker Root Dir, Logging Driver and Live Restore Enabled. If you moved Docker storage to a shared folder, Docker Root Dir should show that folder’s path.
The first stack
OMV 8’s plugin looks up user, group, time zone and shared-folder values itself through ${{ }} placeholders, added in plugin 8.0.4 and 8.0.5 in December 2025. Open Services > Compose > Files, click + then Add, name it jellyfin, and paste this, adapted from the LinuxServer.io Jellyfin reference and the wiki’s own Jellyfin example:
services:
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
environment:
- PUID=${{ uid:"appuser" }}
- PGID=${{ gid:"users" }}
- TZ=${{ tz }}
volumes:
- ./config:/config
- CHANGE_TO_COMPOSE_DATA_PATH/movies:/data/movies:ro
- CHANGE_TO_COMPOSE_DATA_PATH/tvshows:/data/tvshows:ro
ports:
- 8096:8096
restart: unless-stopped
Save it, click Check to validate the file, then click Up. If the Jellyfin image is missing, Up downloads it. The Services tab shows the logs. OMV 8 compose plugin wiki After Jellyfin starts, access it on port 8096.
Before the container starts, the plugin swaps ${{ uid:"appuser" }} for appuser’s UID, ${{ gid:"users" }} for 100 (the default primary group for GUI-created users) and ${{ tz }} for the server’s time zone. The plugin looks up the IDs, so you can skip copying them by hand. For Intel Quick Sync transcoding, the wiki’s version adds /dev/dri:/dev/dri under devices: and puts appuser in the render and video groups.
Upgraded from OMV 7 with omv-release-upgrade, the tool the OMV 8 announcement names, and your files read PUID=${PUID} from a global environment file? Leave them. Global variables are optional on OMV 8. Since 8.0.6, the placeholders also expand inside that file. The plugin keeps it as global.env in the appdata root and overwrites the copy on disk. Edit it through the Files tab’s global environment editor.
Jellyfin writes to its bind mounts using the host UID and GID configured through PUID and PGID. LinuxServer’s docs explain that a process running as root creates files owned by root. The example bind-mounts ./config so Jellyfin and the OMV host can access the same configuration files directly through the appdata shared folder. Docker storage volumes The bind mount depends on the host’s directory layout. Docker bind mounts The unless-stopped restart policy restarts a container regardless of exit code until the service is stopped or removed.
For choosing containers, see SelfhostRealm’s compose stack framework.
What does CHANGE_TO_COMPOSE_DATA_PATH do?
CHANGE_TO_COMPOSE_DATA_PATH is a literal placeholder that the compose plugin replaces with the absolute path of the shared folder chosen as Data under Services > Compose > Settings. Since plugin 7.0.9 (March 2024), a compose file containing it fails with an error when no Data folder is set. Set Data only for files that use this placeholder, including the Jellyfin example above.
It predates the OMV 8 placeholders. The plugin’s example templates use it. OMV 8 added a general form that names any shared folder, per the plugin changelog and the wiki:
| Placeholder | Becomes | Available since |
|---|---|---|
CHANGE_TO_COMPOSE_DATA_PATH | Path of the Data shared folder in Settings | 6.x plugin (by July 2023), still supported |
${{ sf:"media" }} | Absolute path of the shared folder named media | 8.0.4, December 2025 |
${{ uid:"appuser" }} | That user’s UID | 8.0.5, December 2025 |
${{ gid:"users" }} | That group’s GID (100 for users) | 8.0.5, December 2025 |
${{ tz }} | The server’s time zone, such as Europe/Madrid | 8.0.5, December 2025 |
The sf form resolves in compose, override, env and config files. A stack that reads movies from one shared folder and photos from another can name both. Set CHANGE_TO_COMPOSE_DATA_PATH through the Data shared folder if you want to use example files that reference it. Use sf when data is split across shared folders. Since 8.1.25 (September 2026), changing a shared folder that a placeholder references marks the compose module dirty.
Check validates Compose file syntax.
Backups and the restore drill
Unless you enable the option to skip stopping and restarting containers, the Schedule tab’s backup job stops running containers in the stacks it backs up and restarts those same containers afterward. Compose plugin changelog OMV 8 compose plugin wiki With the rsync backend selected, the job copies the compose folder and eligible stack data to the backup folder using rsync. By default, volumes larger than Max Size are skipped. The default limit is 1 GB. Set it to 0 to remove the size limit. Settings form
Append # BACKUP to a writable volume’s line to force inclusion. Append # SKIP_BACKUP to exclude it. The backup excludes volume entries marked :ro. It backs up global.env if the file exists. OMV 8 compose plugin wiki
When the job stops the containers, rsync makes a consistent copy. A live backup can be inconsistent. An rsync backup overwrites the previous copy in the backup folder. OMV 8 compose plugin wiki Since plugin 8.1.3 (15 February 2026) the Settings tab’s Backup section also has a Backend choice of rsync or borg. The Settings form defaults it to rsync, with Borg keep (7 backups by default) shown once borg is picked. Since 8.1.4, Borg encryption offers None or repokey, with a Borg passphrase field for repokey. The form warns that changing the encryption mode means re-initializing the repo. Use backup_compose as the first copy, then use a separate backup application to keep versions. For off-site backup planning, see the 3-2-1 approach for a self-hosted stack.
Run the restore drill on a test stack before you need it. The Restore tab (Services > Compose > Restore) lists the backups the Schedule tab wrote to the backup folder, per the plugin wiki:
- In Files, add a small test stack, for example
drilltest, save it, and click Up. - In Schedule, create a job with Filter set to
drilltestand Backup ticked, save it, then click Run. - Open Services > Compose > Restore, select the backup for the stack and click Restore.
- The plugin stops the affected containers, restores the compose files and container data, and restores global.env if the backup holds one. It then starts the containers that were running before.
- Check that the files were restored and the container is running again.
Restore overwrites existing compose files and data, so copy anything newer first. If only environment values were lost, use Restore global.env instead: it restores that one file and stops no containers.
Networking and updates
Use the Networks tab to set up a separate LAN address for a container such as Pi-hole. Configure the macvlan network with your interface as parent, your subnet and gateway, and a reserved IP range. Docker’s Debian install page warns that published container ports bypass rules managed by ufw or firewalld.
A worked macvlan example
The Docker in OMV 8 wiki page builds a network called mynet for a 192.168.1.0/24 LAN. Adapt every address to your own network. In Services > Compose > Networks, click Add and fill in:
| Field | Wiki example | What it means |
|---|---|---|
| Name | mynet | The name compose files refer to |
| Driver | macvlan | Each container gets its own LAN address and MAC |
| Parent Network | Your OMV interface | Listed under Network > Interfaces |
| Subnet | 192.168.1.0/24 | Your LAN |
| Gateway | 192.168.1.1 | Usually the router |
| IP range | 192.168.1.240/29 | Addresses 192.168.1.241 to 192.168.1.246, room for six containers |
| Aux address | host=192.168.1.247 | Optional, reserved for the host |
Click Save to create mynet. Then give the container a fixed address from that range at the end of its compose file:
services:
pi-hole:
container_name: "pi-hole"
# image, environment and volumes as usual
networks:
mynet:
ipv4_address: 192.168.1.241
networks:
mynet:
external: true
Shrink the router’s DHCP range so it never hands out those addresses, for example 192.168.1.2 to 192.168.1.239. Two cautions from the wiki apply. A macvlan container exposes all its ports on the LAN, so port mapping no longer filters anything. By design, the host cannot reach a macvlan container directly. The wiki describes a macvlan interface in bridge mode as a workaround and warns to proceed at your own risk.
For updates, the Schedule tab’s update job pulls images and recreates only containers that were already running. The Files tab has Pull, Up and Prune for doing it by hand. For a Portainer migration, use Import from Portainer in the Files tab, added in 8.1.13 (April 2026). It imports compose files and environment variables using a Portainer API key or a username and password.
FAQ
Does OpenMediaVault 8 still support Portainer?
In May 2023, omv-extras 6.3 moved Portainer installation out of omv-extras. Since 8.1.13 (April 2026), the Files tab can import Portainer stacks using an API key or username and password.
Where does OMV store Docker images and volumes?
With the default volume settings, locally stored named volume data lives under the Docker data root. A named volume backed by a CIFS/Samba share stores its data on that share. Docker volumes
With classic storage drivers such as overlay2, images also use the Docker data root. With the containerd image store, image data uses a separate directory, /var/lib/containerd by default. Docker daemon configuration
The Docker data root defaults to /var/lib/docker. The plugin writes the storage path set under Services > Compose > Settings to /etc/docker/daemon.json as data-root. Clearing the field lets you manage that file yourself. Compose files live separately in the appdata shared folder, where the Jellyfin example also keeps its bind-mounted ./config. Run docker info and read Docker Root Dir to confirm the data root.
How much disk space does Docker need on OpenMediaVault?
The omv-extras wiki calls 60 to 100 GB a sensible minimum for the Docker drive. For media servers with very large libraries, it suggests considering 250 to 500 GB or more. Docker in OMV 8 The wiki’s example puts Docker data on an NVMe drive separate from the OS drive and the mergerfs pool.
How do I update Docker containers in OpenMediaVault?
Two ways. Add an update job in the Schedule tab, which pulls newer images for the compose files you select. To update one service by hand, open Services, select the service, click Pull, then click Up in the same tab to recreate it with the updated image. For optional cleanup, open Files and choose Prune > Image to remove unused images from the Docker host. OMV 8 Compose plugin wiki
Can OMV 8 use Podman instead of Docker?
Experimentally. openmediavault-compose 8.1, released in December 2025, added Podman support flagged as experimental. In that mode the plugin installs podman, podman-docker and aardvark-dns in place of docker-ce, with docker-compose-plugin still installed for both runtimes. Docker is the runtime the wiki’s walkthrough and this guide use.