← All articles
INFRASTRUCTURE Dockge: The Simplest Docker Compose Manager 2026-02-09 · dockge · docker · docker-compose

Dockge: The Simplest Docker Compose Manager

Infrastructure 2026-02-09 dockge docker docker-compose management

Dockge (pronounced "docksy") is a Docker Compose stack manager from the creator of Uptime Kuma. It does one thing: give you a web UI for managing docker-compose.yml files. No Kubernetes support, no Swarm mode, no image registry — just a clean interface for the thing most self-hosters actually use.

Why Dockge?

If you manage your self-hosted services with Docker Compose (and you probably should), your workflow looks like this:

  1. SSH into your server
  2. cd to the right directory
  3. Edit docker-compose.yml
  4. Run docker compose up -d
  5. Check logs if something breaks

Dockge replaces steps 1-5 with a web UI while keeping your compose files as plain YAML files on disk. Unlike Portainer, which wraps everything in its own abstraction layer, Dockge works with your existing files directly.

Key strengths:

Installation

Dockge expects a specific directory structure. It manages stacks in a stacks directory (default: /opt/stacks/):

mkdir -p /opt/stacks /opt/dockge
# /opt/dockge/docker-compose.yml
services:
  dockge:
    image: louislam/dockge:1
    container_name: dockge
    ports:
      - "5001:5001"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - dockge_data:/app/data
      - /opt/stacks:/opt/stacks
    environment:
      - DOCKGE_STACKS_DIR=/opt/stacks
    restart: unless-stopped

volumes:
  dockge_data:
cd /opt/dockge && docker compose up -d

Access the UI at http://your-server:5001 and create an admin account.

Managing Stacks

Creating a New Stack

Click "Compose" and either:

  1. Paste an existing docker-compose.yml — Dockge validates the YAML and creates the stack
  2. Use the form editor — Click "Add Service" and fill in image, ports, volumes, environment variables through form fields

Dockge saves the compose file to /opt/stacks/<stack-name>/docker-compose.yml — a real file you can edit with any text editor.

Stack Operations

Each stack has controls for:

Migrating Existing Stacks

If you already have compose files scattered across your server, move them into the stacks directory:

# Move an existing stack
mv /home/user/jellyfin /opt/stacks/jellyfin

# Or symlink if you don't want to move
ln -s /home/user/jellyfin /opt/stacks/jellyfin

Restart Dockge and it will detect the existing stacks.

Environment Variables

Dockge supports .env files alongside your compose files. Create /opt/stacks/<stack-name>/.env and reference variables in your compose file as usual:

services:
  app:
    image: myapp:latest
    environment:
      - DATABASE_URL=${DATABASE_URL}
      - SECRET_KEY=${SECRET_KEY}

The .env file is editable through Dockge's UI alongside the compose file.

Multi-Server Management

Dockge supports an agent architecture for managing stacks across multiple servers:

  1. Install the Dockge agent on each remote server
  2. Connect agents to your main Dockge instance
  3. Create and manage stacks on any connected server from one UI

This is useful when you have services split across a homelab server, a VPS, and maybe a Raspberry Pi.

Dockge vs Portainer vs Yacht

Feature Dockge Portainer Yacht
Focus Docker Compose only Full Docker/K8s/Swarm Docker containers
Compose files Real files on disk Stored in Portainer DB Not file-based
Editor YAML + form Form-based Form-based
Container terminal Yes Yes (paid for agents) Yes
Multi-server Agent-based Agent-based (paid) No
Memory usage ~50 MB ~200 MB ~100 MB
Templates No App templates Templates
Learning curve Very low Medium Low
Stack updates One-click pull Manual per container Manual
File access Direct filesystem Abstracted Abstracted

Choose Dockge When

Choose Portainer When

Choose Yacht When

Practical Tips

Keep Stacks Organized

Use descriptive stack names that sort well:

/opt/stacks/
├── media-jellyfin/
├── media-sonarr/
├── infra-traefik/
├── infra-monitoring/
├── prod-nextcloud/
└── prod-vaultwarden/

Back Up Your Stacks

Since everything is in /opt/stacks/, backing up is simple:

tar -czf stacks-backup-$(date +%F).tar.gz /opt/stacks/

This captures all your compose files, .env files, and any configuration mounted from the stack directories.

Use with a Reverse Proxy

Put Dockge behind your reverse proxy (Caddy, Traefik, Nginx) and add authentication. Dockge has built-in auth, but an extra layer doesn't hurt when you're exposing Docker socket access.

Verdict

Dockge is the tool Docker Compose users didn't know they needed. It doesn't try to replace your workflow — it just makes it more convenient. Your compose files stay where they are, in a format you already know, accessible through a clean web UI.

If Portainer feels like overkill and you mostly just want a nicer way to manage your docker compose up -d commands, Dockge is exactly right. The fact that it works with real files on disk, rather than storing everything in its own database, means you can always fall back to the command line without losing anything.