Portainer on OMV

(c) https://forum.openmediavault.org/index.php?thread/40489-how-to-prepare-omv-to-install-docker-applications/

Introduction and basic concepts

Docker is a technology that enables the creation and use of Linux containers. A container is a closed environment where one or more applications and their dependencies are installed, grouped and isolated from each other, running on the same operating system kernel.

Docker allows you to install, uninstall, modify, update applications as many times as you want without causing damage to the system.

Starting from a system with OMV installed and with a file system with shared folders, to use Docker we need::

Instructions for preparing and installing docker

1. Previous steps.

3. Create folders for Docker files

mkdir /SSD/docker
mkdir -m 770 /SSD/config
chgrp users /SSD/config

4. Define the default location of the docker PROGRAM files. Install Docker and Portainer.

5. Create the user "appuser".

Example of installing an application (Jellyfin):

6. Choose a stack

(Note: Verify on the official page that this stack has not changed before installing it)

---
version: "2.1"
services:
  jellyfin:
    image: lscr.io/linuxserver/jellyfin:latest
    container_name: jellyfin
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - JELLYFIN_PublishedServerUrl=192.168.0.5 #optional
    volumes:
      - /path/to/library:/config
      - /path/to/tvseries:/data/tvshows
      - /path/to/movies:/data/movies
    ports:
      - 8096:8096
      - 8920:8920 #optional
      - 7359:7359/udp #optional
      - 1900:1900/udp #optional
    restart: unless-stopped

7. Customize the stack.


Revision #2
Created 9 February 2023 20:36:42 by Angelos
Updated 10 February 2023 23:15:02 by Angelos