Docker Containers Overview

In addition to the K3s Kubernetes cluster, MEGATRON runs several workloads directly on Docker. These are services that either predate the K3s setup, require direct hardware access (GPU), or are managed by external tools (Coolify).

Docker vs K3s

AspectDocker ContainersK3s Pods
Managementdocker CLI, Docker Composekubectl, Helm, Kustomize
NetworkingDocker bridge, port mappingK3s CNI (Flannel), ClusterIP/NodePort
StorageDocker volumes, bind mountsPVCs, Longhorn, local-path
GPU Access--gpus flag via NVIDIA runtimeGPU Operator, device plugin
Service DiscoveryManual / Docker DNSCoreDNS, K8s services

Container Groups

Bibliotheca Stack (7 containers)

Book management system with torrent client, VPN, TTS, and search. See Bibliotheca.

Coolify Stack (3 containers)

Self-hosted PaaS platform with MariaDB and Redis. See Coolify.

Meilisearch (1 container)

Full-text search engine used by Bibliotheca.

Quick Commands

# List all containers
docker ps -a

# List running containers with resource usage
docker stats --no-stream

# Check for problems
docker ps -a --filter "status=restarting"
docker ps -a --filter "status=exited"

# View Docker disk usage
docker system df