How to Install OpenCloud on Rocky Linux 10 Using Docker

OpenCloud is a modern self-hosted cloud platform used for secure file storage, syncing, and online access through a clean web interface. It is lightweight, container-based, and easy to deploy using Docker. Many users install OpenCloud on VPS servers to build their own private cloud similar to Google Drive or Nextcloud.

This guide explains how to install OpenCloud on Rocky Linux 10 using Docker Compose in a stable and production-ready setup.

Prerequisites

Fresh Rocky Linux 10 server

Root or sudo access

Domain pointed to your server IP (example: opencloud.domainhere.info)

Minimum 2 GB RAM recommended

Update the Server

Before installing anything, update your system and install essential tools.

dnf update -y
dnf install curl git nano -y

Install Docker

Rocky Linux 10 does not ship with the latest Docker CE packages, so we install Docker from the official Docker repository.

Add Docker CE repository

dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo

Install Docker + Docker Compose v2

dnf install docker-ce docker-ce-cli containerd.io docker-compose-plugin -y

Enable & Start Docker

systemctl enable --now docker

Verify Installation

docker --version
docker compose version

Output:

Docker version 29.2.1, build a5c7197
Docker Compose version v5.0.2

Clone OpenCloud Compose Repository

Download the official OpenCloud Docker deployment files.

cd /root
git clone https://github.com/opencloud-eu/opencloud-compose.git
cd opencloud-compose

Configure Environment Variables

OpenCloud uses an .env file to configure the domain and admin password.

Copy example file:

cp .env.example .env
nano .env

Modify these values:

OC_DOMAIN=opencloud.domainhere.info
INITIAL_ADMIN_PASSWORD=StrongPassword123!

Note: Replace the domain and password with your actual values.

Configure Firewall (firewalld)

Rocky Linux 10 uses firewalld, which blocks web traffic unless allowed.

firewall-cmd --permanent --add-service=http
firewall-cmd --permanent --add-service=https
firewall-cmd --reload

Deploy OpenCloud Using Docker Compose

Start all required containers:

docker compose -f docker-compose.yml -f traefik/opencloud.yml up -d

Check if containers are running:

docker ps

Output:

[root@vps opencloud-compose]# docker ps
CONTAINER ID   IMAGE                                  COMMAND                  CREATED         STATUS         PORTS                                                                          NAMES
2d4d2d296efa   traefik:v3.6.7                         "/bin/sh /opt/traefi…"   8 minutes ago   Up 8 minutes   0.0.0.0:80->80/tcp, [::]:80->80/tcp, 0.0.0.0:443->443/tcp, [::]:443->443/tcp   opencloud-compose-traefik-1
c6177c56d64c   opencloudeu/opencloud-rolling:latest   "/bin/sh -c 'openclo…"   8 minutes ago   Up 8 minutes   9200/tcp                                                                       opencloud-compose-opencloud-1

Access the OpenCloud Web Interface

Open your browser and visit:

http://opencloud.domainhere.info

Replace the domain with your actual OpenCloud domain.

Login Details

Username: admin

Password: the value from .env

images

Once logged in, OpenCloud will initialize and redirect you to the dashboard.

images

images

Conclusion

You have successfully installed OpenCloud on Rocky Linux 10 using Docker Compose. Your private cloud storage platform is now ready for use and can be accessed securely via your configured domain.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS