Why Dockge?

Managing Docker Compose stacks from SSH gets old fast. Dockge gives you:

  • Web-based compose editor — Write and edit docker-compose.yml in the browser.
  • One-click stack management — Start, stop, restart, update, delete.
  • Live container logs — Real-time log streaming per container.
  • Filesystem-based — Compose files live in /opt/stacks/, not a database.
  • Multi-host — Manage stacks across multiple Docker servers.

Prerequisites

  • Docker Engine 20+ with docker compose v2 plugin.
  • At least 128 MB RAM for Dockge itself.

Step 1: Deploy Dockge

mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge

curl -o compose.yaml https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml

docker compose up -d

Access at http://your-server:5001. Create your admin account.


Step 2: Create a New Stack

  1. Click + Compose in the dashboard.
  2. Name the stack (e.g., “homepage”).
  3. Write or paste a docker-compose.yml:
version: "3"
services:
  homepage:
    image: ghcr.io/gethomepage/homepage:latest
    ports:
      - "3000:3000"
    volumes:
      - ./config:/app/config
    restart: always
  1. Click Deploy — Dockge runs docker compose up -d for you.

Step 3: Manage Stacks

ActionWhat it does
Startdocker compose up -d
Stopdocker compose down
RestartStop + Start
UpdatePull latest images + recreate containers
DeleteStop + remove compose file
LogsReal-time container log streaming

Dockge vs Portainer

FeatureDockgePortainer CE
FocusDocker Compose onlyFull Docker + Kubernetes
Compose file storageFilesystem (editable YAML)Internal database
Resource usage~50 MB RAM~200+ MB RAM
ComplexityMinimalFeature-heavy
Best forHomelabs, simple setupsEnterprise, complex envs

Troubleshooting

ProblemSolution
”Port 5001 already in use”Change the port in Dockge’s own compose.yaml
Stack shows “exited”Click Logs to see container error output
Can’t edit compose fileDockge locks the file while running; stop the stack first
Multi-host agent not connectingVerify agent is running and firewall allows port 5001

Summary

  • 5-minute setup — single docker compose command.
  • Compose files stay as editable YAML on your filesystem.
  • Perfect for homelabs and small teams managing 5-50 stacks.
  • Multi-host support via agents for distributed Docker setups.