mos-docs

Start the First Container

Before running applications in MOS, the Docker service must be configured and enabled.
Containers can then be deployed either manually through the Docker section or via the MOS Hub.

MOS provides two different ways to start containers:


Docker Service Configuration

Before creating any containers, the Docker service must be configured.

Navigate to:

Docker → Docker Service

Example:

image


Docker Service

Enables or disables the Docker engine.

Required:
Docker must be enabled before containers can be created.


Directory

Defines where Docker stores internal data such as images and layers.

Example:

/mnt/main/system/docker

This directory should be located on a fast and reliable storage pool.

WARNING: If you plan to put this directory on a mergerfs pool, you have to select the real path to a disk from your mergerfs pool which is for example located at: /var/mergerfs/main/system/docker


AppData

Defines the base path for persistent container configuration data.

Example:

/mnt/main/appdata

This location is critical for container persistence and should be backed up.


Filesystem

Defines the Docker storage driver filesystem.

Options:

Overlay2 is the recommended and most stable option, if you are using btrfs you can also select btrfs as the storage driver.

WARNING: Changing the storage driver will mean that you have to recreate all your containers, if doing so, it is recommended to stop the Docker service, delete the directory for Docker which usually lives in your system folder, change the storage driver and enable the Docker service again.


Docker Network Mode

Defines how Docker networking is handled.

Common options:

Choose a mode that matches your network setup and container requirements.


Start Wait

Defines the delay (in seconds) before Docker starts during system boot.

Example:

30

Useful when storage pools or network interfaces need additional time to become available.

image


Update Check

Enables automatic checks for container image updates.


Auto Update

Automatically updates containers based on the configured schedule.

Note:
Use with caution in production environments.


Docker Overview Page

Navigate to:

Docker

This page lists all configured containers and provides an overview of:

Example:

image


Docker Compose

Navigate to:

Docker → Docker Compose

This allows deploying one or multiple containers using a Docker Compose YAML definition.

Available fields:

Docker Compose is recommended for complex multi-container applications.


Docker Compose Stacks

Containers deployed using Docker Compose are displayed as a stack in the Docker overview.

A stack represents a group of containers that belong together and are managed as a single unit.

Example:

image

The stack header shows:


Expanding Docker Stacks

Docker Compose stacks can be expanded to show the individual containers inside the stack.

Each container within a stack:

This allows visibility into complex applications while keeping the overview clean.

Example:

image


Stack Actions

Clicking the stack menu provides the following actions:

Stack actions always apply to all containers within the stack.


Docker Action Menu

The action menu (three-dot button) provides additional Docker management features.

Available actions:

Example:

image


Container Context Menu

Each individual container provides a context menu with management actions.

Available actions:

These actions apply only to the selected container.

Example:

image


Creating a Docker Container (Manual)

Navigate to:

Docker → Add container


Basic Configuration Fields


Additional Configuration


Web UI URL

Optional shortcut link to the container web interface.


Icon

Defines the container icon shown in the UI.

Icons can be configured using Material Design Icons (MDI) identifiers.

Example: mdi-vpn


Docker Groups

Navigate to:

Docker → Create Docker group

Docker groups allow logical grouping of containers for better organization.

Configuration options:


Autostart Behavior

Autostart behavior differs depending on how containers are deployed.

Docker Compose Stacks

Single Containers

Recommendation: Use stack-level autostart for multi-container applications to ensure proper startup order.


MOS Hub

The MOS Hub provides a template-based container deployment experience similar to an app store.

Features:

MOS Hub is the recommended starting point for new users.

Example:

image


Summary

To start your first container in MOS:

  1. Configure and enable the Docker Service
  2. Choose between:
    • MOS Hub for easy template-based deployment
    • Docker for manual or advanced configuration
  3. Verify storage paths and network settings
  4. Start and manage containers from the Docker overview

Once Docker is configured, MOS becomes a powerful platform for running applications and services.