Getting started
Docker Compose is the fastest way to run DockDash. This setup stores the SQLite database in a named volume and connects DockDash to the local Docker daemon.
Create the environment file
Section titled “Create the environment file”Use the repository’s .env.example as your starting point. Save a copy as .env beside your Compose file.
You can download it directly:
curl -fsSL https://raw.githubusercontent.com/dougmaitelli/DockDash/master/.env.example -o .envThe defaults are enough for a local Docker installation. Review .env before starting DockDash and keep it out of source control when you add tokens, notification URLs, or authentication secrets.
Create the Compose file
Section titled “Create the Compose file”Create compose.yaml:
services: dockdash: image: ghcr.io/dougmaitelli/dockdash:v1.0.0 container_name: dockdash restart: unless-stopped env_file: - .env ports: - "127.0.0.1:${PORT:-3001}:${PORT:-3001}" environment: DB_PATH: /app/data/dockdash.db volumes: - /var/run/docker.sock:/var/run/docker.sock - dockdash-data:/app/data
volumes: dockdash-data:Binding to 127.0.0.1 keeps DockDash local while you configure authentication. Change the binding only after completing the Protect access step below.
The example pins DockDash to v1.0.0 for predictable deployments. Change the tag deliberately when upgrading, and back up the SQLite data volume before releases that include database migrations.
Start DockDash
Section titled “Start DockDash”docker compose up -dOpen http://localhost:3001.
Confirm discovery
Section titled “Confirm discovery”DockDash uses the mounted Docker socket when DOCKER_HOSTS is not set. After the first scan, locally running containers should appear in the service inventory.
If a service does not appear:
- Confirm that the Docker socket is mounted at
/var/run/docker.sock. - Check the container logs with
docker compose logs dockdash. - Verify that the container is visible with
docker pson the host.
Protect access
Section titled “Protect access”Next steps
Section titled “Next steps”- Review the security checklist before exposing DockDash to an untrusted network.
- Connect to remote Docker hosts.
- Connect to Kubernetes.
- Learn how version-aware update monitoring works.
- Configure notifications through Apprise.