{
  "@context": "https://schema.org",
  "@type": "WebPage",
  "name": "Docker hosting on Edge | Compose on real VMs",
  "headline": "Docker hosting on Edge | Compose on real VMs",
  "description": "Run Docker and Docker Compose on Edge VMs. Any image, any language, a global CDN in front and S3-compatible storage for state, with zero egress fees.",
  "url": "https://edge.network/solutions/docker",
  "image": "https://edge.network/og/solutions__docker.png",
  "inLanguage": "en",
  "publisher": {
    "@type": "Organization",
    "name": "Edge Network",
    "url": "https://edge.network",
    "logo": "https://edge.network/favicon.svg"
  },
  "isPartOf": {
    "@type": "WebSite",
    "name": "Edge Network",
    "url": "https://edge.network"
  },
  "breadcrumb": {
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://edge.network"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Solutions",
        "item": "https://edge.network/solutions"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Docker",
        "item": "https://edge.network/solutions/docker"
      }
    ]
  },
  "section": "solutions",
  "articleBody": "For Docker\n\n Any container, on a VM you control\n\n Create a VM with Docker preinstalled, run your compose file and put a CDN across 2,206 locations in front of it. No proprietary runtime, no registry lock-in, no egress fees. Deploy a VM Read the startup script docs The setup on this page costs $40.72 a month, with no egress line.\n\n Why Docker on Edge\n\n The architecture on your whiteboard, running \n\n Real VMs you control, sized to fit, with a global network already wired in. Nothing between you and docker compose. Plain Docker, plain Linux\n\n The docker library script installs Docker CE and Compose on first boot. No proprietary container runtime, no special registry. \n Compose-ready\n\n docker compose up -d works exactly as it does on your laptop. Multi-container apps, shared networks and named volumes, straight from your repo. \n State that outlives containers\n\n Keep databases on named volumes on local NVMe, and push uploads and backups to S3-compatible Edge Storage. Containers stay disposable. \n Global delivery, zero egress\n\n Put the CDN in front and your static responses are cached in 2,206 locations. Bandwidth out to users is never billed. \n Bootstrap from one script\n\n Pass --script to install Docker, pull images and start the stack on first boot. Repeatable and kept in version control. \n Hand the compose file to your agent\n\n \"Deploy this compose file to app.acme.dev.\" The agent API stands up the VM, configures DNS and adds a CDN deployment. \n Reference architecture\n\n Your whole compose file on one VM \n\n One VM runs the Docker daemon and your whole compose file. Data sits on NVMe volumes, backups go to a bucket and the CDN takes the public traffic. Visitors Browsers\n\n app.acme.dev via Edge DNS\n\n HTTPS Edge CDN app.acme.dev\n\n caches static responses\n\n zero egress origin :80 Edge Compute docker compose up -d\n\n 4 containers, s-4vcpu-8gb\n\n app worker redis volume, S3 API Database postgres:16\n\n named volume pgdata on NVMe\n\n Edge Storage acme-backups\n\n pg_dump, uploads and artefacts\n\n nightly Compute Hosts the Docker daemon and every container in your compose file.\n\n Storage S3-compatible store for uploads, backups and build artefacts.\n\n CDN Caches the static responses your containers serve, with zero egress.\n\n DNS Anycast DNS for routing and per-environment subdomains.\n\n Deploy\n\n From compose.yml to live in four steps \n\n Everything here is standard Docker. If it runs on your laptop, it runs on the VM. ~/acme-stack $ edge compute create --name stack \\ \n\n --size s-4vcpu-8gb --image ubuntu-24 \\\n\n --region london --script docker\n\n ✓ vm-a06d4c running, Docker CE + Compose\n\n $ docker context create edge \\ \n\n --docker host=ssh://root@64.34.86.99\n\n $ docker --context edge compose up -d \n\n ✓ Container stack-db-1 Healthy\n\n ✓ Container stack-redis-1 Started\n\n ✓ Container stack-app-1 Started\n\n Containers up 4/4 vm-a06d4c Running Containers 4 running Size s-4vcpu-8gb, london 01 Create a VM with Docker\n\n The docker library script installs Docker CE and the Compose plugin on first boot, before you can even SSH in.\n\n shell Copy $ edge compute create --name stack --size s-4vcpu-8gb \\\n --image ubuntu-24 --region london --script docker \n 02 Describe the stack\n\n No bind mounts, so the same file deploys from your laptop over SSH. Postgres data lives on a named volume.\n\n compose.yml Copy services:\n app:\n image: ghcr.io/acme/app:latest\n restart: unless-stopped\n env_file: .env\n ports: [\"80:3000\"]\n depends_on: [db, redis]\n worker:\n image: ghcr.io/acme/app:latest\n command: [\"./bin/worker\"]\n restart: unless-stopped\n env_file: .env\n db:\n image: postgres:16\n restart: unless-stopped\n env_file: .env\n volumes: [\"pgdata:/var/lib/postgresql/data\"]\n healthcheck:\n test: [\"CMD\", \"pg_isready\", \"-U\", \"postgres\"]\n redis:\n image: redis:7\n restart: unless-stopped\nvolumes:\n pgdata: \n 03 Ship it over SSH\n\n A Docker context runs your local docker commands against the VM. Updates are a pull and an up -d.\n\n shell Copy $ docker context create edge --docker host=ssh://root@<vm-ip>\n$ docker --context edge compose pull\n$ docker --context edge compose up -d \n 04 Front it with the CDN\n\n The CDN talks to the app container&#x27;s published port. Point your domain&#x27;s CNAME at cdn.edge.network and SSL follows.\n\n shell Copy $ edge cdn create --name acme-stack\n$ edge cdn domains add cdn-d83c15 \\\n --domain app.acme.dev \\\n --origin http://<vm-ip> \n Prefer to hand it off? Give the job to your AI agent or have our engineers do it .\n\n What it costs\n\n One VM, the whole compose file \n\n No per-container or control-plane charge. You pay for the VM the containers share, plus what&#x27;s in the bucket. No per-container or control-plane fees \n No egress fees from the VM, CDN or bucket \n Resize the VM with one command as the stack grows \n See compute pricing Estimated monthly bill on Edge\n\n Four-container stack, 3.5M requests a month, 105 GB of backups\n\n USD Compute $38.47 Performance VM, 4 vCPU, 8 GiB, 160 GB NVMe \n CDN $0.75 3.5M requests: first 500k free, 3M × $0.25 per million \n Storage $1.50 105 GB of backups: first 5 GB free, 100 GB × $0.015 \n DNS $0.00 Production and staging records \n Egress $0.00 \n Total $40.72 FAQ\n\n Compose, images and volumes \n\n Something else? Ask an engineer . Can I use Docker Compose? Yes, unchanged. Commit your compose file, create a VM with the docker library script and run docker compose up -d, either on the VM or from your laptop through a Docker context. What about Kubernetes? You can run k3s or full Kubernetes yourself on a cluster of Edge VMs. For most workloads under twenty or so containers, Compose on one or two VMs is far simpler to run. Where do my images live? Wherever you like: Docker Hub, GHCR, GitLab&#x27;s registry or your own. To keep images in-house, run the open-source registry image with its S3 storage driver pointed at an Edge Storage bucket. How do I update a running container? The standard way: pull the new image and run docker compose up -d, which recreates only what changed. Wrap it in a CI step, or use a Watchtower-style updater. The VM is yours. How do I back up volumes? Dump databases on a schedule and copy the file to Edge Storage with any S3 client. For whole-VM protection, add backups or snapshots from the Compute dashboard. Drop-in services\n\n Add-ons that don&#x27;t need another container \n\n Edge Shield Bot protection POST /siteverify → score: 94 Invisible bot protection for logins, signups and forms: a 1–100 humanity score instead of a puzzle, from one HTTP call in any container.\n\n Free forever, with unlimited widgets. No puzzles for visitors. Explore \n Edge Assist AI answers <script src=\"…/assist.js\"> An AI answer box grounded in your own content. One script tag, whatever runs in the containers.\n\n Free tier: 250 answered questions a month Explore \n Related stacks\n\n What people run in their containers \n\n All 38 stacks Kubernetes k3s and full k8s, no control-plane fees \n Node.js Express, Fastify or Hono on your own runtime \n N Next.js Self-host Next.js without the lock-in \n PostgreSQL Self-hosted Postgres on dedicated NVMe \n docker compose up, on Edge\n\n Bring your compose file. We&#x27;ll run it on a VM you control, with the network already wired in.\n\n Deploy a VM Talk to an engineer Billed hourly from a prepaid balance. Egress is free on every product.",
  "headings": [
    {
      "level": 1,
      "text": "Any container, on a VM you control"
    },
    {
      "level": 3,
      "text": "Plain Docker, plain Linux"
    },
    {
      "level": 3,
      "text": "Compose-ready"
    },
    {
      "level": 3,
      "text": "State that outlives containers"
    },
    {
      "level": 3,
      "text": "Global delivery, zero egress"
    },
    {
      "level": 3,
      "text": "Bootstrap from one script"
    },
    {
      "level": 3,
      "text": "Hand the compose file to your agent"
    },
    {
      "level": 3,
      "text": "Create a VM with Docker"
    },
    {
      "level": 3,
      "text": "Describe the stack"
    },
    {
      "level": 3,
      "text": "Ship it over SSH"
    },
    {
      "level": 3,
      "text": "Front it with the CDN"
    },
    {
      "level": 2,
      "text": "docker compose up, on Edge"
    }
  ],
  "relatedLinks": [
    {
      "@type": "WebPage",
      "name": "Network",
      "url": "https://edge.network/network"
    },
    {
      "@type": "WebPage",
      "name": "Pricing",
      "url": "https://edge.network/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Docs",
      "url": "https://edge.network/docs"
    },
    {
      "@type": "WebPage",
      "name": "Sign in",
      "url": "https://edge.network/console/access"
    },
    {
      "@type": "WebPage",
      "name": "Solutions",
      "url": "https://edge.network/solutions"
    },
    {
      "@type": "WebPage",
      "name": "Stacks",
      "url": "https://edge.network/solutions/stacks"
    },
    {
      "@type": "WebPage",
      "name": "Read the startup script docs",
      "url": "https://edge.network/docs/compute/scripts"
    },
    {
      "@type": "WebPage",
      "name": "Compute",
      "url": "https://edge.network/compute"
    },
    {
      "@type": "WebPage",
      "name": "Storage",
      "url": "https://edge.network/storage"
    },
    {
      "@type": "WebPage",
      "name": "CDN",
      "url": "https://edge.network/cdn"
    },
    {
      "@type": "WebPage",
      "name": "DNS",
      "url": "https://edge.network/dns"
    },
    {
      "@type": "WebPage",
      "name": "Give the job to your AI agent",
      "url": "https://edge.network/solutions/agentic-development"
    },
    {
      "@type": "WebPage",
      "name": "have our engineers do it",
      "url": "https://edge.network/solutions/expert-services"
    },
    {
      "@type": "WebPage",
      "name": "See compute pricing",
      "url": "https://edge.network/compute/pricing"
    },
    {
      "@type": "WebPage",
      "name": "Ask an engineer",
      "url": "https://edge.network/contact"
    },
    {
      "@type": "WebPage",
      "name": "Shield",
      "url": "https://edge.network/shield"
    },
    {
      "@type": "WebPage",
      "name": "Assist",
      "url": "https://edge.network/assist"
    },
    {
      "@type": "WebPage",
      "name": "Pulse",
      "url": "https://edge.network/pulse"
    },
    {
      "@type": "WebPage",
      "name": "Agent API &amp; MCP",
      "url": "https://edge.network/docs/agent"
    },
    {
      "@type": "WebPage",
      "name": "Academy",
      "url": "https://edge.network/academy"
    },
    {
      "@type": "WebPage",
      "name": "Case Studies",
      "url": "https://edge.network/case-studies"
    },
    {
      "@type": "WebPage",
      "name": "Releases",
      "url": "https://edge.network/releases"
    },
    {
      "@type": "WebPage",
      "name": "Roadmap",
      "url": "https://edge.network/roadmap"
    },
    {
      "@type": "WebPage",
      "name": "Status",
      "url": "https://edge.network/status"
    },
    {
      "@type": "WebPage",
      "name": "About",
      "url": "https://edge.network/about"
    },
    {
      "@type": "WebPage",
      "name": "Environment",
      "url": "https://edge.network/environment"
    },
    {
      "@type": "WebPage",
      "name": "Latest",
      "url": "https://edge.network/latest"
    },
    {
      "@type": "WebPage",
      "name": "Blog",
      "url": "https://edge.network/blog"
    },
    {
      "@type": "WebPage",
      "name": "Careers",
      "url": "https://edge.network/careers"
    },
    {
      "@type": "WebPage",
      "name": "Terms of Service",
      "url": "https://edge.network/terms"
    }
  ],
  "alternateFormats": [
    {
      "@type": "MediaObject",
      "contentType": "text/html",
      "url": "https://edge.network/solutions/docker",
      "name": "HTML version"
    }
  ],
  "dateModified": "2026-11-23T02:00:49.385Z"
}