Best for · Web hosting
Docker cloud hosting: where to run your containers
- Last checked
- 6 sources, linked below
- By the vectaai team
We read every plan page. Paid links are labelled. Money never changes a ranking. How we pick.
Verdict Our pick
The bar guide has a call.

- Google Cloud Run for APIs and sites with uneven traffic.
- Fly.io for small always-on apps close to users.
- Railway if you want the smoothest developer experience and usage-based billing from a $5 Hobby plan.
- Render for predictable flat prices per service ($7 for 512 MB).
Compared here
- 01Google Cloud Run
- 02Fly.io
- 03Railway
- 04Render
- 05DigitalOcean App Platform
Short answer
For most people with one Dockerized app, the best Docker cloud hosting is a managed container platform, not a server you babysit. Google Cloud Run is the cheapest place to start if traffic is spiky: it scales to zero, and its request-based free tier covers 180,000 vCPU-seconds, 360,000 GiB-seconds and 2 million requests a month. Fly.io is the cheapest always-on option we read, with a 256 MB machine at $2.19 a month and $5 of monthly usage once you add a card.
Pick Cloud Run for APIs and sites with uneven traffic. Pick Fly.io for small always-on apps close to users. Pick Railway if you want the smoothest developer experience and usage-based billing from a $5 Hobby plan. Pick Render for predictable flat prices per service ($7 for 512 MB). Pick DigitalOcean App Platform if you already use DigitalOcean, from $5 a month for 512 MiB. A plain VPS with Docker installed is still cheapest at scale if you can run it yourself.
Sponsored links. We may earn a commission; it never changes the pick.
At a glance
| Platform | Billing model | Free tier | Cheapest always-on container (quoted) | Scale to zero | Best for |
|---|---|---|---|---|---|
| Google Cloud Run | Per use, rounded up to 100 ms | 180,000 vCPU-s, 360,000 GiB-s, 2M requests a month (request-based) | Depends on usage; minimum instances billed while idle | Yes | Spiky traffic, APIs |
| Fly.io | Pay as you go by the second, no platform fee | $1 credit without a card; $5 usage a month with a card | shared-cpu-1x 256 MB, $2.19 a month | Stopped machines pay only rootfs storage | Small apps near users |
| Railway | Plan fee plus per-second usage | Free: $5 a month usage, services sleep | Hobby $5 a month, includes $5 usage | Free plan sleeps after 5 to 10 minutes | Developer experience |
| Render | Workspace plan plus flat compute per service | Free 512 MB web service with usage limits | $7 a month, 512 MB | Free tier has limits | Predictable flat bills |
| DigitalOcean App Platform | Flat per container size | 3 static-site apps | $5 a month, 1 vCPU, 512 MiB, 50 GiB transfer | No | Teams already on DigitalOcean |
You have a Dockerfile. It runs on your laptop. Now it needs to run somewhere with a real address, HTTPS, and nobody restarting it when it falls over at 3am. That is what people mean by Docker cloud hosting, and in 2026 you have more good choices than ever, most of them cheaper than you would guess.
We read each provider's official pricing page or docs on 4 December 2026 and quote them. We did not deploy the same app to all five and benchmark them. Money talk: "Try" links may earn us a commission. Several of the best answers below cost nothing, and we say so.
Two ways to host a container
A managed container platform. You give it an image or a repo with a Dockerfile. It builds, runs, restarts, scales and puts HTTPS in front. You never log in to a server. Cloud Run, Fly.io, Railway, Render and DigitalOcean App Platform all work this way.
A virtual server with Docker installed. You rent a VPS, install Docker and Docker Compose, and run everything yourself. Cheapest per gigabyte, most control, and every security patch, backup and 3am crash is yours.
For one to five apps, managed platforms win on time saved. For lots of containers on steady load, a server often wins on money. Many teams do both.
The quick answer by situation
- Traffic comes in bursts, or not at all most of the day: Google Cloud Run.
- Small app that must always be on, close to users in several regions: Fly.io.
- You want the nicest dashboard and deploys from GitHub with no fuss: Railway.
- You want a flat, predictable price per service: Render.
- Your database and storage already live at DigitalOcean: App Platform.
Google Cloud Run: pay only when requests arrive
Cloud Run runs your container and, with request-based billing, charges only while it is handling requests. It "charges you only for the resources you use, rounded up to the nearest 100 millisecond." With no traffic, it scales to zero.
The free tier on request-based billing, based on us-central1 pricing:
- First 180,000 vCPU-seconds free per month
- First 360,000 GiB-seconds free per month
- 2 million requests free per month
Instance-based billing, where you pay for the whole time an instance is up, has its own free tier: 240,000 vCPU-seconds and 450,000 GiB-seconds a month. Google says the free tier is aggregated across projects by billing account and resets every month.
What that means in plain words: a hobby API or a low-traffic site can often run for nothing. A busy app pays per use, and Google publishes the per-second rates by region on the same page.
The catch: if you set a minimum number of instances to avoid cold starts, you pay for them while idle. And Google Cloud's console has a learning curve if you have never used it.
Pick Cloud Run if: traffic is uneven, you like the idea of paying zero at 3am, and you do not need a long-running process with local disk.
Fly.io: tiny always-on machines, close to users
Fly.io runs your container as "Machines" in regions around the world. Its pricing docs say there is "no monthly platform fee; you pay for the resources and services you use," billed by the second while running. Prices are in USD.
Started machine prices for shared-cpu-1x in Ashburn and Secaucus:
| Machine | Monthly |
|---|---|
| shared-cpu-1x, 256 MB | $2.19 |
| shared-cpu-1x, 512 MB | $3.69 |
| shared-cpu-1x, 1 GB | $6.70 |
Other numbers that matter:
- Stopped machines: "Only the Machine's root file system is billed while it's stopped," at $0.15 per GB a month.
- Volumes: $0.15 per GB a month of provisioned capacity, attached or not.
- Egress: $0.02 per GB to the internet from North America and Europe. Inbound is free.
- Free credit: new accounts get $1 without a card, then "$5 of usage every month once you add a card."
$5 a month of usage covers a couple of small machines. That is why Fly.io is a favourite for side projects that must stay up.
Pick Fly.io if: you want an always-on small app, possibly in several regions, at the lowest price we found for that.
Railway: the easiest developer experience
Railway is the one people recommend to friends who hate infrastructure. Connect a repo, it builds and deploys. Pricing is a plan fee plus usage "by the second."
| Plan | Monthly fee | Included usage | Notes |
|---|---|---|---|
| Free Trial | $0 | $5 one-time, 30 days | 2 vCPU, 1 GB per service |
| Free | $0 | $5 a month | Services sleep after 5 to 10 minutes without outbound traffic; no custom domains |
| Hobby | $5 | $5 a month | Always on, 2 custom domains, up to 48 vCPU and 48 GB per service |
| Pro | $20 per workspace | $20 a month | Unlimited seats, 20 custom domains, 30-day logs |
Usage rates: about $10 per GB of memory a month, about $20 per vCPU a month, $0.15 per GB a month for volumes and $0.05 per GB of egress.
Note the egress rate: $0.05 per GB is higher than Fly.io's and DigitalOcean's $0.02. For apps that send a lot of data out, that adds up.
Pick Railway if: you value your time over every last cent and want deploys that just work. The $5 Hobby plan, with $5 of usage included, is a sensible first paid step.
Render: flat prices you can predict
Render charges a workspace plan plus a flat monthly price per service size. Its pricing page lists "Custom Docker containers" as supported.
Workspace plans: Hobby $0 plus compute (1 seat, 25 services), Pro $25 plus compute, Scale $499 plus compute, Enterprise custom.
Compute for web services:
| Size | Monthly | RAM |
|---|---|---|
| Free | $0 | 512 MB, with usage limits |
| Less than 1 CPU | $7 | 512 MB |
| 1 CPU | $25 | 2 GB |
| 2 CPU | $85 | 4 GB |
| 4 CPU | $175 | 8 GB |
The list goes up to 12 CPUs and 96 GB at $1,500 a month. Render's pricing page says free compute "has usage limits" and points to its free-plan docs for the details.
Pick Render if: you want to know your bill before the month starts. Flat per-service pricing is easier to explain to a boss or a client than per-second maths.
DigitalOcean App Platform: simple, if you are already there
DigitalOcean App Platform runs containers on fixed sizes with outbound transfer included:
| Shared instance | Monthly | Transfer included |
|---|---|---|
| 1 vCPU, 512 MiB | $5 | 50 GiB |
| 1 vCPU, 1 GiB | $10 | 100 GiB |
| 1 vCPU, 1 GiB | $12 | 150 GiB |
| 1 vCPU, 2 GiB | $25 | 200 GiB |
| 2 vCPU, 4 GiB | $50 | 250 GiB |
Overage is $0.02 per GiB. The page notes the two smallest sizes are limited to one container instance, and dedicated instances (not priced on the page we read) are the ones that autoscale. A dedicated egress IP is $25 a month per app; a 512 MiB development PostgreSQL database is $7 a month. The free tier covers up to 3 static-site apps, not containers.
Pick App Platform if: your database, object storage or servers are already at DigitalOcean and you want everything on one bill.
What about Docker's own cloud?
Older articles talk about "Docker Cloud", Docker's hosted service from years ago. Today Docker's site lists Docker Offload: "Docker Offload lets you run your existing Docker apps in the cloud using the Docker tools and commands you already know." Each Cloud Sandbox is a cloud VM with its own Docker Engine, you run workloads with docker --cloud, Docker Desktop is required, and billing is pay as you go from $0.07 an hour (Micro) to $1.12 an hour (XL), stopping when the sandbox stops. It is built around Docker Desktop and your development workflow; for a public app with a domain and HTTPS, the platforms above are the more natural fit.
How to choose in five questions
- Does the app need to be on all the time? No: Cloud Run. Yes: Fly.io, Railway Hobby, Render or App Platform.
- Is traffic spiky? Scale-to-zero billing saves the most.
- How much data goes out? Compare egress prices: $0.02 per GB at Fly.io and DigitalOcean, $0.05 at Railway.
- Do you need a database? All of these sell or connect to one; price it in.
- Who will maintain it? If nobody wants to, stay managed.
If your container is a website rather than an app, normal web hosting may be cheaper and easier: see best web hosting. If you are hosting an app built with an AI builder, our Lovable hosting cost page breaks down that case. For bigger, steady workloads, a cloud dedicated server with Docker installed may beat all of the above on price.
Our verdict
Cloud Run for spiky traffic and the most generous free tier. Fly.io for the cheapest small always-on container. Railway for the smoothest experience with usage billing from $5. Render for flat, predictable bills. DigitalOcean App Platform if you already live there. Start on a free tier, watch one month of real usage, then pick the plan. That one month will tell you more than any comparison page, this one included.
Questions people ask
What is Docker cloud hosting?
Running your Docker container on someone else's infrastructure. You either hand an image to a managed platform like Cloud Run, Fly.io, Railway, Render or DigitalOcean App Platform, which runs and scales it for you, or you rent a virtual server, install Docker and manage everything yourself. Managed is easier; a server is cheaper at scale.
What is the cheapest way to host a Docker container?
For low or spiky traffic, Google Cloud Run's free tier, because it scales to zero and the first 2 million requests a month are free on request-based billing. For a small always-on app, Fly.io's 256 MB machine at $2.19 a month, with $5 of monthly usage covered once you add a card, is the cheapest we read.
Can I host a Docker container for free?
Yes, for small projects. Cloud Run has a monthly free tier, Fly.io covers $5 of usage a month once you add a card, Railway's Free plan includes $5 a month but sleeps idle services, and Render has a free 512 MB web service with usage limits. Free tiers are for side projects, not production.
Is Docker Cloud still available?
Docker Cloud, the old hosted service from Docker, shows up mostly in older articles. Today people mean any cloud that runs containers. Docker's own site now lists Docker Offload, which runs your Docker apps in cloud VMs through Docker Desktop from $0.07 an hour. It is built around the developer workflow rather than public app hosting.
Should I use a VPS or a container platform for Docker?
Use a container platform if you want deploys, HTTPS, scaling and restarts handled for you and you run a few apps. Use a VPS if you run many containers, want the lowest cost per gigabyte, or need full control, and you are comfortable patching servers, setting up backups and watching logs yourself.
Sources
Every fact above comes from these pages. Prices change, so each one carries the date we read it.
- Google Cloud Run pricing, checked 4 Dec 2026
- Fly.io docs: pricing, checked 4 Dec 2026
- Railway pricing, checked 4 Dec 2026
- Render pricing, checked 4 Dec 2026
- DigitalOcean App Platform pricing, checked 4 Dec 2026
- Docker Offload, checked 4 Dec 2026