Skip to content

OpenCloud

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

Build Status Last Commit

OpenCloud is a modern file-sync and share platform.

Port 9200
Registry ghcr.io/daemonless/opencloud
Daemonless daemonless/opencloud
Source daemonless/opencloud
Website opencloud.eu

Version Tags

Tag Description Best For
latest Upstream Binary. Built from official release. Most users. Matches Linux Docker behavior.

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:
  opencloud:
    image: ghcr.io/daemonless/opencloud:latest
    container_name: opencloud
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=UTC
      - OC_URL=https://hostname:9200
    volumes:
      - "/path/to/containers/opencloud:/config"
    ports:
      - 9200:9200
    restart: unless-stopped
DIRECTOR_PROJECT=opencloud
PUID=1000
PGID=1000
TZ=UTC
OC_URL=https://hostname:9200
options:
  - virtualnet: ':<random> default'
  - nat:
services:
  opencloud:
    name: opencloud
    options:
      - container: 'boot args:--pull'
    oci:
      user: root
      environment:
        - PUID: !ENV '${PUID}'
        - PGID: !ENV '${PGID}'
        - TZ: !ENV '${TZ}'
        - OC_URL: !ENV '${OC_URL}'
    volumes:
      - OPENCLOUD_CONFIG_PATH: /config
volumes:
  OPENCLOUD_CONFIG_PATH:
    device: '/path/to/containers/opencloud'
ARG tag=latest

OPTION overwrite=force
OPTION from=ghcr.io/daemonless/opencloud:${tag}
podman run -d --name opencloud \
  -p 9200:9200 \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=UTC \
  -e OC_URL=https://hostname:9200 \
  -v /path/to/containers/opencloud:/config \
  ghcr.io/daemonless/opencloud:latest
- name: Deploy opencloud
  containers.podman.podman_container:
    name: opencloud
    image: ghcr.io/daemonless/opencloud:latest
    state: started
    restart_policy: always
    env:
      PUID: "1000"
      PGID: "1000"
      TZ: "UTC"
      OC_URL: "https://hostname:9200"
    ports:
      - "9200:9200"
    volumes:
      - "/path/to/containers/opencloud:/config"

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
OC_URL https://hostname:9200 URL where OpenCloud can be accessed

Volumes

Path Description
/config Configuration directory

Ports

Port Protocol Description
9200 TCP Web UI

First run

OpenCloud generates a default config with insecure settings (not TLS validation) on first start or if the /config/.opencloud directory does not exist.

You can find the initial admin password in the logs or in /config/.opencloud/config/opencloud.yaml.

Remarks

So far I have only tested this image with bridge networking.
You may need to add an extra_host to your compose file to allow opencloud to connect to it's internal IDP. That is at least what I had to do.

services:
  opencloud:
    extra_hosts:
      - "host-hostname:127.0.0.1"

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).

Need help? Join our Discord community.