Docker

How to Install Dockhand on Ubuntu 26.04

Install Dockhand step by step

Learn how to install Dockhand on Ubuntu 26.04 correctly and securely.

How to Install Dockhand on Ubuntu 26.04
Table of contents
  1. 1 Requirements
  2. 2 Installation
  3. 2.1 Update the system
  4. 2.2 Install Dockhand
  5. 3 Verify the installation
  6. 4 Troubleshooting

In this guide we install Dockhand on Ubuntu 26.04 and verify that it works.

Requirements

  • An Ubuntu 26.04 server
  • A user with sudo access
  • Docker installed

Installation

Update the system

Execute this command inside the terminal to update the system

sudo apt update && sudo apt upgrade -y

Install Dockhand

Execute this command inside the terminal to install dockhand

docker run -d \
  --name dockhand \
  --restart unless-stopped \
  -p 3000:3000 \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v dockhand_data:/app/data \
  fnsys/dockhand:latest

Verify the installation

After running the installation command, follow these steps to verify that Dockhand is working correctly.

Check the container status

Execute:

docker ps --filter name=dockhand

The container should appear with a status of Up

Check the container logs

Execute:

docker logs --tail 50 dockhand

Verify that there are no critical errors and that the application has started successfully.

To monitor logs continuously:

Execute:

docker logs -f dockhand

Press Ctrl + C to stop monitoring

Verify the web interface

Open th following address in your browser:

http://SERVER_IP:3000

Replace SERVER_IP with your Ubuntu server IP address.

If you are using a reverse proxy with localhost port binding, access Dockhand through your configured domain instead.

Verify Docker connectivity

Execute:

docker exec dockhand ls -l /var/run/docker.sock

Then check whether Dockhand can communicate with Docker by opening its dashboard and verifying that the local Docker environment is connected.

Enable authentication

On the first launch, authentication is disabled by default.

  1. Open the Dockhand web interface.
  2. Navigate to Settings → Authentication.
  3. Enable authentication.
  4. Create your administrator account.
  5. Log out and verify that login is required.

Success

Expected Result

Dockhand should load successfully, display the local Docker environment, and allow you to manage containers after authentication is enabled.

Warning

Dockhand requires access to the Docker socket to manage containers and Docker environments.
Important security considerations:
- Mounting /var/run/docker.sock gives Dockhand extensive control over the host's Docker environment.
- Anyone who gains unauthorized access to Dockhand may be able to create, modify, or remove containers.
- Do not expose Dockhand directly to the public internet.
- Enable authentication immediately after the first login.
- Use a firewall, VPN, or authenticated reverse proxy to restrict access.
- Avoid changing Docker socket permissions to 666, as this exposes Docker access to other processes on the host.
Recommended: Access Dockhand through a private network, Tailscale, WireGuard, or a properly secured reverse proxy.

Troubleshooting

The following table covers common problems that may occur during installation or initial configuration.

ProblemPossible causeSolution
Container does not startDocker service is stoppedStart Docker using
sudo systemctl start docker
Port 3000 already in useAnother application is using the portCheck the port using
sudo ss -lntp \| grep :3000
Cannot access DockhandFirewall or network restrictionsCheck firewall rules and Docker port mapping
Permission denied on Docker socketIncorrect socket permissions or group IDMatch Dockhand's group ID with the host Docker group
Container keeps restartingApplication startup errorCheck logs using
docker logs dockhand
Docker environment shows offlineDocker daemon connection issueVerify Docker status and restart Dockhand
Changes disappear after recreationData volume is missing EnsureEnsure dockhand_data is mounted correctly


Was this tutorial helpful?

100% found this helpful.

Comments 0

No comments yet. Be the first to comment.

Leave a comment

Your email is never published.

Related tutorials