Skip to content

Emby

Description / nameInput element
Container Registry
Container Configuration Root Path
Timezone
User ID
Group ID
Emby Host Port
Emby /config Path

Build Status Last Commit mlock Required

Personal media server with apps on just about every device.

Port 8096
Registry ghcr.io/daemonless/emby
Daemonless daemonless/emby
Source api.github.com/repos/MediaBrowser/Emby.…
Website emby.media

Version Tags

Tag Description Best For
latest FreeBSD Quarterly. Uses stable, tested packages. Production stability.
pkg FreeBSD Quarterly. Uses stable, tested packages. Production stability.
pkg-latest FreeBSD Latest. Rolling package updates. Newest FreeBSD packages.

Root Privileges Required

Podman on FreeBSD currently requires root. All commands must be run as root (or via doas/sudo).

Before deploying, ensure your host environment is ready. See the Quick Start Guide for host setup instructions.

Deployment

services:
  emby:
    image: ghcr.io/daemonless/emby:latest
    container_name: emby
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
    volumes:
      - "/path/to/containers/emby:/config"
    ports:
      - 8096:8096
    annotations:
      org.freebsd.jail.allow.mlock: "true"
    restart: unless-stopped
DIRECTOR_PROJECT=emby
PUID=1000
PGID=1000
TZ=UTC
options:
  - virtualnet: ':<random> default'
  - nat:
services:
  emby:
    name: emby
    options:
      - container: 'boot args:--pull'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
    volumes:
      - EMBY_CONFIG_PATH: /config
volumes:
  EMBY_CONFIG_PATH:
    device: '/path/to/containers/emby'
ARG tag=latest

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/emby:${tag}
SET allow.mlock=1
podman run -d --name emby \
  -p 8096:8096 \
  --annotation 'org.freebsd.jail.allow.mlock=true' \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -v /path/to/containers/emby:/config \
  ghcr.io/daemonless/emby:latest
- name: Deploy emby
  containers.podman.podman_container:
    name: emby
    image: ghcr.io/daemonless/emby:latest
    state: started
    restart_policy: always
    env:
      PUID: "1000"
      PGID: "1000"
      TZ: "UTC"
    ports:
      - "8096:8096"
    volumes:
      - "/path/to/containers/emby:/config"
    annotation:
      org.freebsd.jail.allow.mlock: "true"

Interactive Configuration

Parameters

Environment Variables

Variable Default Description
PUID 1000 User ID for the application process
PGID 1000 Group ID for the application process
TZ UTC Timezone for the container

Volumes

Path Description
/config Configuration and data directory

Ports

Port Protocol Description
8096 TCP Web UI

Implementation Details

  • Architectures: amd64
  • User: bsd (UID/GID set via PUID/PGID). Defaults to 1000:1000.
  • Base: Built on ghcr.io/daemonless/base (FreeBSD 15.0).
  • mlock: Requires --annotation 'org.freebsd.jail.allow.mlock=true' (ocijail 0.5.0+)

Need help? Join our Discord community.