To set up Docker on Unraid, start the array, go to Settings > Docker, set Enable Docker to Yes, and click Apply. Install a container through Apps, then use its template to map its configuration folder to a path such as /mnt/user/appdata/myapp. Unraid Docker settings · Community Applications · Container configuration
How to enable Docker on Unraid
Use these steps for a first setup or when changing where Docker stores its images.
- Start the array and open Settings > Docker.
- If Docker is running and you need to change storage settings, set Enable Docker to No and click Apply. The data-root, location, size, and driver fields are read-only while the service runs.
- Set Docker data-root to btrfs vDisk, xfs vDisk, or directory.
- For a vDisk, fill in Docker vDisk size (GB) and Docker vDisk location. For a directory, enter a path ending in
/in Docker directory. - Check Default appdata storage location. The form suggests
/mnt/user/appdata/. - Set Enable Docker to Yes, click Apply, and open the Docker tab. Unraid Docker settings
Pick a storage backend for Docker
A vDisk puts Docker’s images and container files inside an image file with a configured size. The default docker.img lives in the system share, which usually uses the cache pool. A directory data-root stores those files directly on the backing filesystem. Unraid Docker overview · Unraid 6.9.0 release notes
| Docker data-root | What to enter |
|---|---|
| btrfs vDisk | An image location ending in docker.img and a size in GB |
| xfs vDisk | An image location ending in docker-xfs.img and a size in GB |
| Directory | A folder path ending in /, such as /mnt/user/system/docker/ |
Unraid added directory storage on Btrfs and XFS in 6.9.0 and on ZFS pools in 6.12.0. If you use a directory in a share, configure the share so Mover leaves the directory in place. The Unraid hardware guide covers SSD pool choices. Unraid Docker settings · Unraid 6.9.0 release notes · Unraid 6.12.0 release notes
For a Docker directory on a ZFS volume, Unraid 7.0.0 recommends setting Docker storage driver to overlay2 because the legacy native setting can cause stability issues on ZFS. Unraid 7.0.0 release notes
How big should the Unraid Docker image be?
Start with the default vDisk size. Unraid’s troubleshooting guide says it is typically sufficient for most users. Docker troubleshooting
Deleting a corrupt vDisk removes custom Docker networks and any app data stored inside the image. Before deleting the image, run docker network ls and record the names of the custom networks you created. Docker troubleshooting
- In Settings > Docker, note the configured file path in Docker vDisk location.
- Set Enable Docker to No and click Apply. With Docker stopped, manually delete the file at the recorded path.
- Confirm the replacement image path and set the desired Docker vDisk size (GB). To create a larger replacement, enter a higher size here. Set Enable Docker to Yes and click Apply. Unraid Docker settings · Docker troubleshooting
For a user-created bridge network that used default settings, run docker network create <network-name> with the recorded name. Reinstall your containers from Apps > Previous Apps. Docker troubleshooting
Install containers through Community Applications
Community Applications adds the Apps tab to the WebGUI. Its catalog contains more than 2,000 community-maintained containers and plugins. The Community Applications team does basic vetting and moderation. Read the app’s documentation and support information before granting access to the array, cache pool, or sensitive data. Community Applications
- Open Apps and click Install if the Community Applications plugin is missing. Refresh the page when the plugin finishes installing.
- In Apps, search for the container, open its listing, and click Install. Community Applications
- On the prefilled template, check the volume mappings, ports, and variables. Container configuration
- After configuring the template, click Create to install the container. Keep the window open until the install finishes, then click Done. Use the Docker tab to manage the container. Container configuration
Map paths, ports, and variables
For an app that stores its settings in /config, set Container Path to /config and Host Path to /mnt/user/appdata/myapp. Set Access Mode to read-only or read/write. Container configuration · Container form source
For example, in Bridge mode, map three containers that each use internal port 8000 to host ports 8000, 8001, and 8002, respectively. Container configuration
Use the template’s Variable entries for settings the image supports. Examples include TZ=America/New_York for the time zone and PUID=99 and PGID=100 for file ownership. Check the app’s documentation for its variable names and accepted values. Container configuration
Choose a network type
| Network type | How it connects |
|---|---|
| Bridge | The default. Uses an internal Docker network with explicit port mappings. |
| Host | Shares Unraid’s network stack. |
| None | Disables network access for the container. |
| Custom (macvlan or ipvlan) | Gives the container its own LAN IP address. |
If you switch the server from Ethernet to Wi-Fi, or vice versa, restart Docker and reconfigure existing containers to use the new interface. Container configuration
Unraid 7.2.5 updated Docker to version 29 and added a MAC Address field. Enter a fixed MAC there if a DHCP reservation or router rule depends on it. Unraid migrates old --mac-address= values from Extra Parameters where safe. Unraid 7.2.5 release notes
Unraid 7.3.3 shipped Docker 29.8.2. Unraid 7.4.0, released November 10, 2026, added support for multiple custom networks in a template and preserves those attachments when the container is updated or recreated. Unraid 7.3.3 release notes · Unraid 7.4.0 release notes
Where are Unraid Docker templates stored?
Unraid saves each container’s XML template on the boot device at /boot/config/plugins/dockerMan/templates-user. A template records the image repository, network, and settings such as paths, ports, and variables. The appdata share holds the application files you mapped there. Community Applications · Docker template format · Unraid Docker overview
To reinstall a container, open the Previous Apps section in Apps, select the app, and follow the install prompts. Unraid downloads the image and reapplies the saved template settings. Docker troubleshooting
Extra Parameters vs Post Arguments
Extra Parameters holds Docker flags that go before the image name. Post Arguments holds the command or arguments that go after it. For a standard container, Unraid’s command builder places them in this order. Command builder source
docker create [template options] [Extra Parameters] 'Repository' [Post Arguments]
The table shows how to enter common docker run options in the template. The port row uses one mapping from the Bridge example above. Container configuration
Part of a docker run command | Template field |
|---|---|
-v /host/path:/container/path | Path |
-p 8001:8000 | Port (host 8001, container 8000) |
-e KEY=value | Variable |
--network | Network Type |
--memory | Memory limit in Advanced View on Unraid 7.4.0 |
| Image name and tag | Repository |
| Additional Docker flags before the image name | Extra Parameters |
| Command or flags after the image name | Post Arguments |
The Memory limit field generates a --memory= flag. Use Extra Parameters for a docker create flag with no dedicated field. If Docker containers have trouble starting after a while and Plex is running, the Unraid 6.12.0 release notes suggest switching the Plex container settings to Advanced View and adding --no-healthcheck in Extra Parameters. Unraid 7.4.0 release notes · Command builder source · Unraid 6.12.0 release notes
In the Grafana Alloy example below, Repository is grafana/alloy:latest and Extra Parameters is empty. Enter this line in Post Arguments. Unraid forum’s Alloy example
run --server.http.listen-addr=0.0.0.0:12345 --storage.path=/var/lib/alloy/data /etc/alloy/config.alloy
Docker Compose on Unraid
Docker Compose in the Unraid WebGUI requires a plugin. Install Compose Manager Plus to add a stack manager and the Compose CLI plugin (v5 by default). The original Docker Compose Manager is deprecated. Unraid Docker overview · Compose Manager Plus README · Original plugin deprecation notice
The plugin manifest sets a minimum of Unraid 6.12.0. The README reports compatibility verification on Unraid 7.2.3 and later. Plugin manifest · Compose Manager Plus README
- Search for Compose Manager Plus in Apps and install it. For a manual install, copy the plugin URL under Main Release in the README and paste it into Plugins > Install Plugin. Compose Manager Plus README
- Open Docker > Compose, click Add Stack, and enter a stack name.
- Paste your
compose.yamlinto the stack editor and pressCtrl+Sto save. Click Compose Up to start the stack. - To start the stack automatically with the array, enable its autostart toggle. Under Settings > Compose, set the wait-for-Docker timeout if your stack needs it. Compose Manager Plus README
The default projects folder is /boot/config/plugins/compose.manager/projects. Changing that setting leaves existing projects where they are. Compose Manager Plus supports manual and scheduled backups with selective restore. Compose Manager Plus README
Can Unraid build from a Dockerfile?
The Docker tab pulls images by name through the Repository field. Build a Dockerfile through Compose Manager Plus or publish a prebuilt image to a registry for the Docker tab to pull. Docker client source · Docker template format · Compose Manager Plus README
For a Compose build, place the Dockerfile in ./webapp relative to compose.yaml, then add the service below. Use an indirect path when the Compose file already lives outside the default projects folder. In the stopped stack’s menu, choose Build & Up. Compose Build Specification · Compose Manager Plus README
services:
web:
build: ./webapp
For a registry build, set IMAGE to your full registry image name and tag. If you built the image as myapp, sign in, run docker tag myapp "$IMAGE" and docker push "$IMAGE", then paste the full name into Repository. Unraid added private registry basic authentication in 6.9.0. Docker image publishing guide · Unraid 6.9.0 release notes
Set startup order and check for updates
On the Docker tab, turn on Auto-Start for the containers you want to launch with the array. To start a database before its app, unlock the list with the padlock and drag the database above the app. Switch to Advanced View and enter a wait in seconds for the database if it needs time before the next container starts. Container configuration
Open Apps > Action Center to check for updates and see alerts about deprecated, incompatible, or blacklisted apps. When an update is available, select Actions > Update for the app. Community Applications
For platform planning, see Unraid vs Proxmox.
Evidence and limits
This guide draws on the Unraid manual, release notes for Unraid 6.9.0 through 7.4.0, WebGUI source from master, the linked Docker and plugin references, and the cited community examples. No hands-on testing was performed for this guide.