Skip to content

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.

View as Markdown

Best Docker hosting platforms in 2026: Fly.io, Railway, Render, DigitalOcean App Platform, Google Cloud Run, Scaleway, Coolify and while compared for Docker container hosting, from free and cheap Docker hosting to managed

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

PlatformYour containerSmallest paid containerFree optionDatabaseClosest to France
whileYour Dockerfile, built for every version, or an imageSee pricingA trial with no sign-upPostgreSQL declared with the app, backed up every dayIn France
Fly.ioYour Dockerfile or an image$2.19 per month, shared CPU, 256 MBA trialManaged Postgres from $38 per monthParis, without managed Postgres
RailwayYour Dockerfile, or a Compose import$5 per month with $5 of usage, then $20 per vCPU and $10 per GBA one-time $5 grantPostgres on requestAmsterdam
RenderYour Dockerfile$7 per month, 0.5 CPU, 512 MBA free instance, with limitsFrom $6 per month, 256 MBFrankfurt
DigitalOceanFrom Git or an image$5 per month, shared CPU, 512 MBStatic sites onlyDevelopment database at $7 per monthLondon, Amsterdam or Frankfurt
Google Cloud RunAn imageBilled per use, to the nearest 100 ms2 million requests a monthA separate serviceParis
ScalewayAn image pushed to a registryBilled per useA monthly allowanceA separate managed databaseParis
CoolifyDockerfile, Compose or an imageFree on your server, $5 per month on CloudFree on your own serverOn your serversWherever 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.

Cheap and free Docker hosting compared: Docker container hosting plans from a free tier to a small paid container, with the price of the smallest container on Fly.io, DigitalOcean, Render and Railway
From a free tier to a container that runs all the time, the price climbs with memory and the database.

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 USER line.
  • 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 situationOur pick
Pay by the second for what runs, with no subscriptionwhile
A preview per branch, with its own datawhile
The team signed in with their email account, a client with a passwordwhile
Your AI puts the container into production, in Francewhile
Your team already lives in Google CloudGoogle Cloud Run
Regions in Amsterdam, Warsaw or MilanScaleway
Your own serversCoolify

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.

The message to give your AI
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

  1. Fly.io, pricing, accessed November 18, 2026
  2. Fly.io, regions, accessed November 18, 2026
  3. Railway, Dockerfiles, accessed November 18, 2026
  4. Railway, plans, accessed November 18, 2026
  5. Railway, regions, accessed November 2, 2026
  6. Render, pricing, accessed November 18, 2026
  7. Render, regions, accessed November 2, 2026
  8. DigitalOcean, App Platform pricing, accessed November 18, 2026
  9. DigitalOcean, App Platform regions, accessed November 2, 2026
  10. Google Cloud, Cloud Run pricing, accessed November 18, 2026
  11. Scaleway, Serverless Containers, accessed November 2, 2026
  12. Scaleway, Serverless pricing, accessed November 2, 2026
  13. Coolify, deployment methods, accessed November 2, 2026
  14. Coolify, pricing, accessed November 18, 2026

Questions

What is the cheapest Docker hosting?

For a container that runs all the time, Fly.io starts at $2.19 per month for a shared CPU with 256 MB, then DigitalOcean at $5 and Render at $7 for 512 MB1,8,6. Coolify is free if you already have a server.

Is there free Docker hosting?

Yes, with limits. Render has a free instance, Cloud Run has a monthly free tier of 2 million requests, and Coolify is free on your own server. Fly.io and Railway offer a trial6,10,14,1,4. On while, the trial is free with no sign-up, and the Libre plan has no subscription.

Which Docker hosting runs in France?

Fly.io in its Paris region, without its managed Postgres, Cloud Run in Paris, Scaleway in its French region, and while, hosted in France by Nextmap. Railway, Render and DigitalOcean stop at Amsterdam, Frankfurt or London2,10,11.

Do I have to build the image myself?

Not on Railway, Render or while, which build your Dockerfile. Scaleway’s serverless containers take an image already built and pushed to a registry. On while, a public image or one pushed to while’s registry also runs as it is.

What about Docker Compose?

Railway imports services from a Compose file, and Coolify deploys one3,13. On while, your AI translates your services into while.yaml: the app, its database, its cache.

Can my container run as root?

Not on while: it always runs without administrator privileges, even if the Dockerfile leaves that out.

Give your AI the message, and it takes care of the rest

Give this to your AI

Read while.sh/agents and help me get started with while.

Copy the message

In 3 minutes, with no sign-up, the tool has its own address. To keep it, create your account.

For a company project, write to the while team: hello@while.sh