How to Install and Configure DockPanel on Ubuntu 26.04

Overview

DockPanel is a free, self-hosted server management panel that provides a web-based interface for managing websites, PHP, Docker applications, SSL certificates, databases, and other server services.

This guide explains how to install DockPanel on Ubuntu 26.04 LTS using the official installer.

Requirements

Before installing DockPanel, make sure your server has:

  • Ubuntu 26.04 LTS

  • x86_64 architecture

  • Root or sudo access

  • A domain or subdomain pointing to the server

  • Ports 80 and 443 available

Example panel domain:

panel.example.com

Installation

Run the following command as root or a sudo-enabled user:

curl -sL https://dockpanel.dev/install.sh | sudo bash

When prompted for the panel domain, enter your domain:

panel.example.com

The installer will automatically:

  1. Detect the operating system and architecture

  2. Install required base packages

  3. Install and configure Docker

  4. Configure Nginx

  5. Generate application secrets

  6. Create the PostgreSQL database container

  7. Download the DockPanel binaries

  8. Configure systemd services

  9. Install PHP 8.5 with PHP-FPM

  10. Install Certbot

  11. Configure UFW firewall

  12. Install and configure Fail2Ban

  13. Provision an SSL certificate

  14. Configure automated PostgreSQL backups

  15. Perform a final health check

Installation Confirmation

After a successful installation, the installer will display information similar to:

DockPanel installed successfully!

Version:        v2.98.0
Panel URL:      https://panel.example.com

Open the displayed panel URL in your browser and create your administrator account.

Service Management

Check Agent Status

systemctl status dockpanel-agent

Check API Status

systemctl status dockpanel-api

View Agent Logs

journalctl -u dockpanel-agent -f

View API Logs

journalctl -u dockpanel-api -f

Restart DockPanel Services

systemctl restart dockpanel-agent dockpanel-api

DockPanel CLI

Check the current panel status:

dockpanel status

Run diagnostics:

dockpanel diagnose

View available commands:

dockpanel --help

Important Configuration Paths

Item Location
Configuration /etc/dockpanel/
Agent token /etc/dockpanel/agent.token
API environment /etc/dockpanel/api.env
Database backups /var/backups/dockpanel/
Installation log /var/log/dockpanel-install.log

PostgreSQL Database

DockPanel runs PostgreSQL in a Docker container.

Container name:

dockpanel-postgres

Database port:

5450

To connect to the database:

docker exec -it dockpanel-postgres psql -U dockpanel -d dockpanel

Automated Backups

DockPanel installs a PostgreSQL backup script at:

/opt/dockpanel/scripts/db-backup.sh

A daily cron job is configured automatically with a 7-day retention period.

Installed Services

A standard installation includes:

  • Docker

  • Nginx

  • PHP 8.5 with PHP-FPM

  • Certbot

  • UFW

  • Fail2Ban

  • PostgreSQL

  • DockPanel API

  • DockPanel Agent

First Steps After Installation

After logging into DockPanel:

  1. Create your administrator account.

  2. Go to Sites → Create Site.

  3. Add your first website.

  4. Provision SSL using the lock icon.

  5. Run Diagnostics → Run Scan.

  6. Install additional services if required.

Optional services available from the panel include:

  • Mail Server

  • Roundcube Webmail

  • Rspamd Spam Filter

Updating DockPanel

To update DockPanel, run:

bash /opt/dockpanel/scripts/update.sh

Troubleshooting

If the panel is not accessible, check the DockPanel services:

systemctl status dockpanel-agent
systemctl status dockpanel-api

Check recent API logs:

journalctl -u dockpanel-api -n 100 --no-pager

Check recent Agent logs:

journalctl -u dockpanel-agent -n 100 --no-pager

You can also run the built-in diagnostic tool:

dockpanel diagnose

If SSL or domain access is not working, verify that:

  • The domain points to the server's public IP.

  • Ports 80 and 443 are open.

  • Nginx is running.

  • The DockPanel API service is running.

  • The SSL certificate was successfully provisioned.

Summary

DockPanel can be installed on Ubuntu 26.04 using its automated installer. The installer handles Docker, Nginx, PHP-FPM, PostgreSQL, SSL, firewall configuration, Fail2Ban, systemd services, and automated database backups.

Once installation is complete, access the panel using the configured domain:

https://panel.example.com

Replace panel.example.com with your own panel domain.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to restrict direct root access in Linux

We can do it just in two steps. Step One: At first we will create new root user as follows (for...

How to extract .tar.gz files in Linux/UNIX OS

A tarball is a group of files that are bundled together using the tar command. Use the...

How to add welcome message when SSH start?

You need to change the contents of /etc/motd. Unfortunately, by default, /etc/motd is a link to...

How to change root password when SSH logged in

Run the following command: passwd Now type your new passwordOnce done, retype new passwordDone!...

How to install Pinguzo on any Linux/UNIX OS

Login to Pinguzo panel using Softaculous account or create an account of Pinguzo To add new...