The best Docker hosting platforms in 2026, from free to fully managed
Your app fits in a Dockerfile, and you want it running without renting and patching a server. We compared eight Docker hosting platforms on what decides the choice: the price of the smallest container, the free option, the database and the region, and what happens when your AI is the one putting the container into production.
By Grégoire Mougeolle, co-founder of Nextmap. Facts checked on November 18, 2026.
If your app fits in a Dockerfile, you no longer need to rent and patch a server to run it. A dozen platforms take your container as it is, and the right one depends on four things: what the smallest container costs, whether there is a free option, where the database lives, and which region the whole thing runs in. We compared eight of them, from the cheapest to the most hands-off.
The short version. For a container your AI puts into production, while. Your secrets stay out of its reach, it is billed by the second, with no subscription, and its database is backed up every day in France. Elsewhere, Fly.io only for several regions of the world, Cloud Run for a team already in Google Cloud, and Coolify for your own server.
The 8 Docker hosting platforms at a glance
| Platform | Your container | Smallest paid container | Free option | Database | Closest to France |
|---|---|---|---|---|---|
| while | Your Dockerfile, built for every version, or an image | See pricing | A trial with no sign-up | PostgreSQL declared with the app, backed up every day | In France |
| Fly.io | Your Dockerfile or an image | $2.19 per month, shared CPU, 256 MB | A trial | Managed Postgres from $38 per month | Paris, without managed Postgres |
| Railway | Your Dockerfile, or a Compose import | $5 per month with $5 of usage, then $20 per vCPU and $10 per GB | A one-time $5 grant | Postgres on request | Amsterdam |
| Render | Your Dockerfile | $7 per month, 0.5 CPU, 512 MB | A free instance, with limits | From $6 per month, 256 MB | Frankfurt |
| DigitalOcean | From Git or an image | $5 per month, shared CPU, 512 MB | Static sites only | Development database at $7 per month | London, Amsterdam or Frankfurt |
| Google Cloud Run | An image | Billed per use, to the nearest 100 ms | 2 million requests a month | A separate service | Paris |
| Scaleway | An image pushed to a registry | Billed per use | A monthly allowance | A separate managed database | Paris |
| Coolify | Dockerfile, Compose or an image | Free on your server, $5 per month on Cloud | Free on your own server | On your servers | Wherever your server is |
Try while on your tool, no sign-up. Copy the message
The cheapest Docker hosting
Fly.io starts at $2.19 per month for a container that runs all the time. It is a shared-CPU machine with 256 MB, billed by the second while it runs1. DigitalOcean App Platform comes next at $5 per month for a shared CPU and 512 MB8. Render costs $7 per month for 0.5 CPU and 512 MB6.
Railway counts differently. The Hobby plan costs $5 per month and includes $5 of usage, then each resource is billed: $20 per vCPU and $10 per GB of memory per month4. For a small container, that often stays within the included usage. The database changes the math, though: Fly.io’s managed Postgres starts at $38 per month1, when Render’s starts at $66.
Free Docker hosting, and its limits
Free Docker hosting exists, but each free option comes with a catch. Render has a free instance with 512 MB, with limitations, and a free Postgres database with limitations too6. Google Cloud Run has a monthly free tier, in request-based billing, of 2 million requests, 180,000 vCPU-seconds and 360,000 GiB-seconds10. Coolify is free forever when you run it on your own server, which you still pay for14.
Fly.io offers a trial, Railway a one-time $5 grant1,4, and DigitalOcean keeps its free tier for static sites8. For a container that must answer at any time, with a database, the free options are good for testing, and the paid ones for production.

while, your container in production by your AI
We built while for containers your AI puts into production. Claude Code, Cursor or Codex connects to while over MCP, with OAuth, and sends your code. Your Dockerfile builds the image for every version, its test stage runs if it has one, and the previous version stays ready. An image already built, public or pushed to while’s registry, runs as it is.
You, to your AI: Put this Dockerfile into production on while, with a PostgreSQL database, and tell me if anything needs my approval.
- Your container never runs as root, even if the Dockerfile leaves out the
USERline. - Its packages are checked against known vulnerabilities at every release, then every day.
- Serious actions wait for a person, like deleting a database, and your AI never approves anything itself.
- Your secrets stay in while: the app uses them, your AI never sees them.
- The database is backed up every day, and everything runs in France, hosted by Nextmap.
To go step by step, follow our guide to deploy a Docker container, and for a container that Claude Code built, see the MCP servers compared.
Best for: a container your AI takes to production, with your secrets protected and your data in France.
Fly.io, close to your users
Fly.io runs your Dockerfile or image on machines in many regions around the world, Paris included2. Its managed Postgres is not offered in Paris, so an app in France keeps its managed database elsewhere, or runs Postgres itself.
Best for: an app with users all over the world, at the lowest price for an always-on container.
Railway, a Dockerfile picked up on its own
Railway uses the Dockerfile it finds at the root of the source, as long as it is named exactly that, and it can import services from a Docker Compose file3. It bills usage on top of the plan, and its closest region to France is Amsterdam5.
Best for: a small project that wants to pay only for what it uses.
Render, a free instance to start
Render builds your Dockerfile, offers a free instance to start and Postgres from $6 per month6. Its closest region is Frankfurt7.
Best for: testing for free, then moving to a small paid instance.
DigitalOcean App Platform, simple and predictable
App Platform deploys from a Git repository or a container image, at $5 per month for the smallest container and $7 for a development database8. Its closest regions are London, Amsterdam and Frankfurt9.
Best for: a fixed monthly bill, easy to predict.
Google Cloud Run, billed per request
Cloud Run runs your container image and bills only what it uses, rounded up to the nearest 100 milliseconds, after a monthly free tier10. It has a Paris region. The database is a separate Google Cloud service to set up.
Best for: traffic that comes and goes, already on Google Cloud.
Scaleway, serverless containers in France
Scaleway runs an image already built and pushed to a registry, from zero to 200 instances depending on demand, in its French region11. It bills usage, with a free allowance each month12.
Best for: a European cloud, for a team that builds its images in CI.
Coolify, on your own server
Coolify is open source and free when you run it yourself. It takes a Dockerfile, a Docker Compose file or a published image13, and Coolify Cloud costs $5 per month for two servers, which you bring14.
Best for: a team that wants to keep its own servers and maintain them.
Which one to choose
| Your situation | Our pick |
|---|---|
| Pay by the second for what runs, with no subscription | while |
| A preview per branch, with its own data | while |
| The team signed in with their email account, a client with a password | while |
| Your AI puts the container into production, in France | while |
| Your team already lives in Google Cloud | Google Cloud Run |
| Regions in Amsterdam, Warsaw or Milan | Scaleway |
| Your own servers | Coolify |
If you are comparing self-hosted options, read Dokploy vs while. To try while, give this message to your AI. The trial is free, with no sign-up, and your container has its address in 3 minutes.
Read while.sh/agents and help me get started with while.
How we chose
On November 18, 2026, we reread the pricing pages of Fly.io, Railway, Render, DigitalOcean, Google Cloud Run and Coolify, and the Fly.io regions, cited as sources. Scaleway’s pages and the regions of Railway, Render and DigitalOcean come from our November 2, 2026 review. Prices are in US dollars, for the smallest size of each platform. We use while every day, and we compared the eight platforms on the price, the free option, the database and the region.
Sources
- Fly.io, pricing, accessed November 18, 2026
- Fly.io, regions, accessed November 18, 2026
- Railway, Dockerfiles, accessed November 18, 2026
- Railway, plans, accessed November 18, 2026
- Railway, regions, accessed November 2, 2026
- Render, pricing, accessed November 18, 2026
- Render, regions, accessed November 2, 2026
- DigitalOcean, App Platform pricing, accessed November 18, 2026
- DigitalOcean, App Platform regions, accessed November 2, 2026
- Google Cloud, Cloud Run pricing, accessed November 18, 2026
- Scaleway, Serverless Containers, accessed November 2, 2026
- Scaleway, Serverless pricing, accessed November 2, 2026
- Coolify, deployment methods, accessed November 2, 2026
- Coolify, pricing, accessed November 18, 2026