Docker Documentation

Docker runs each platform service in its own isolated container.

What Docker Is

Docker is a container runtime. A container packages an application, its libraries, configuration and runtime environment into a repeatable unit.

Why Docker Is Used Here

Isolation

Dashboard, Grafana, Prometheus and Portainer run independently.

Repeatability

A service can be rebuilt from its Dockerfile or Compose file.

Private Networking

Services bind to localhost and are exposed through Nginx only.

Volumes

Persistent data survives container recreation.

Current Containers

cloud-dashboard   -> live infrastructure dashboard
portainer         -> Docker management UI
prometheus        -> metrics collection
grafana           -> metrics visualization
node-exporter     -> host metrics exporter

Docker Network Flow

Nginx on host
  -> localhost port mapping
  -> Docker bridge/private network
  -> container process

Important Commands

docker ps
docker ps -a
docker images
docker network ls
docker network inspect cloud_platform_net
docker volume ls
docker logs cloud-dashboard
cd /opt/cloud-platform/dashboard && docker compose up -d --build

Troubleshooting Docker