Prerequisites
Before installing Dockhand, ensure you have:- Docker Engine 20.10 or later
- Docker Compose v2.0 or later (for compose-based installations)
- Access to Docker socket or remote Docker daemon
- At least 512MB RAM available
- Port 3000 available (or customize with your preferred port)
Dockhand runs as a non-root user (UID 1001) by default for security. The container automatically handles Docker socket permissions.
Quick Install (Docker Run)
The simplest way to get started with Dockhand using the default SQLite database:Access Dockhand at
http://localhost:3000 after the container starts. The first user to register becomes the admin.Docker Compose Installation
Option 1: SQLite (Default)
Create adocker-compose.yaml file:
docker-compose.yaml
Option 2: PostgreSQL
For production environments or multi-instance deployments, use PostgreSQL:docker-compose-postgresql.yaml
Advanced Installation Options
Custom Port Mapping
To run Dockhand on a different port (e.g., 8080):Custom User/Group IDs
To run Dockhand with specific UID/GID:Docker Socket via Group
If you encounter Docker socket permission issues, add the Docker group:Remote Docker Host
To manage a remote Docker daemon via TCP:When using
DOCKER_HOST, you don’t need to mount the Docker socket. Configure TLS certificates via the web UI under Settings > Environments.Bind Mount Data Directory
For easier backup and access to the database:Verify Installation
1
Check Container Status
2
View Logs
Docker socket accessible at /var/run/docker.sockRunning as user: dockhandDatabase migrations completed successfully
3
Access Web UI
Open your browser and navigate to:You should see the Dockhand login/registration page.
4
Create Admin Account
Register the first user account. This user automatically becomes the administrator with full access.
Troubleshooting
Docker Socket Permission Denied
If you see “permission denied” errors when accessing Docker:Database Migration Failures
If database migrations fail on startup:Port Already in Use
If port 3000 is already in use:Container Hostname Detection
If the hostname is not detected correctly:Update Dockhand
To update to the latest version:1
Pull Latest Image
2
Stop Current Container
3
Start New Container
Database migrations run automatically on startup. Your data is preserved in the
dockhand_data volume.Next Steps
Quick Start Guide
Complete your first deployment and explore Dockhand features
Configuration
Configure environment variables, authentication, and advanced settings
