Adopt Pre-Existing Docker Containers with Zero Downtime: Reverse-Engineering docker-compose.yml in Gubernator v4.0
Repository · https://github.com/gubernator-org/gubernator
How Gubernator v4.0 discovers pre-existing Docker containers on production hosts, reverse-engineers clean docker-compose.yml files via docker inspect, and adopts them as managed Stacks with zero downtime.
First seen by Oriel on .
AI summary
Gubernator is a Go-based lightweight container orchestrator combining Docker Swarm-style Compose deployment with Nomad-style task scheduling, labels, monitoring, security, and multi-node management.
- A single gbnt binary operates as Manager or Worker, using SQLite, GORM, Docker Engine communication, Gin, Cobra, and an optional embedded Flutter Web dashboard.
- Workers join a Manager through tokens, send heartbeats every 10 seconds, execute assigned tasks every 5 seconds, and run containers directly through the Docker socket.
- Compose labels support placement constraints, GPU and CPU affinity, autoscaling, ingress routing, SLOs, and service discovery through generated CoreDNS and Caddy configuration.
- The platform includes Active Directory and LDAP authentication, three-tier RBAC, CVE scanning, SBOM generation, Cosign signing, compliance engines, backups, Prometheus telemetry, eBPF tracing, and Jaeger correlation.
- The repository documents extensive enterprise, observability, storage, ingress, and industrial IoT capabilities, while requiring Docker access and persistent volumes for durable cluster state.
#container orchestration #docker #go #observability
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 20, latest observation ; +8 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 4, latest observation ; +3 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 5073756 | https://github.com/gubernator-org/gubernator Read discussion |