Articles on: 🌍 Web Hosting & PaaS
This article is also available in:

Hodifly or Docker?

Docker has become a reflex: a Dockerfile, a docker-compose.yml, and the application runs anywhere. It is an excellent development tool. But in production, a container only carries your application: everything around it (server, certificates, backups, monitoring) is still yours to handle. Above all, production does not have the same security requirements as development.


That is why we built Hodifly: you push your code to Git, and your application is deployed securely, on a platform that Hodi manages for you. This article helps you choose, and explains how to move from Docker to Hodifly.



At a glance: who takes care of what?



Hodifly (Hodi web hosting & PaaS)

Docker on an unmanaged server

Build and go live on every git push

✅ Included, automatic

⚠️ To build yourself (CI, image registry, deployment)

Rollback

✅ Instant, one click

⚠️ To plan (image tags, scripts)

AI-assisted deployment

✅ AI connector included: your AI creates the project, database and variables, then deploys

❌ To build yourself

System, web server, PHP / Node / Python / Ruby

✅ Managed by Hodi

⚠️ Base images and host to update yourself

Security updates

✅ Applied by Hodi

❌ To watch for and apply yourself

SSL certificates

✅ Automatic

⚠️ Reverse proxy to install and watch

WAF, malicious bot blocking

✅ Included

❌ To install and configure

Antivirus and anti-malware

✅ Included

❌ To install

Outgoing email filtering

✅ Included

❌ To plan

24/7 server monitoring

✅ By the Hodi team

❌ To set up, and someone to answer at night

Backups

✅ Daily, to a second data center, 30-day retention, regularly tested

❌ Volumes, databases and files to back up yourself, tests to schedule

Disaster recovery

✅ Managed disaster recovery, back online in under 2 h, included in the CYBER+ plan

❌ To design and test

Attack surface monitoring

✅ Included in the CYBER+ plan

❌ To plan

Support

✅ A real team, available on WhatsApp too

⚠️ Often one or two people, not always reachable

Domain name

✅ One free domain name

⚠️ To buy separately

Mailboxes

✅ Included

⚠️ Extra subscription



On the PaaS, Hodi handles everything


A PaaS is a platform that is already set up to run your sites and applications, which we install, secure and maintain for you. You have no server to administer:


  • Deployment: Hodifly detects your framework, runs the build, publishes an immutable release and switches to it atomically. Never a half-deployed site, and a rollback in seconds.
  • The platform: system, web server and runtimes are maintained and updated by our team. Security patches do not depend on you.
  • Cybersecurity, included: a rule-based WAF that blocks malicious bots, antivirus and anti-malware, outgoing email filtering, and 24/7 monitoring of our servers by our SOC. With the CYBER+ plan, you also get managed disaster recovery with recovery in under 2 hours, and attack surface monitoring.
  • Backups, included: every day, to a second data center, with 30-day retention. Files and databases included, nothing to configure.


That is why more and more developers use PaaS solutions like Hodifly, Netlify or Vercel: they want to spend their time on their product, not on running a server. The difference with Hodifly is that your site runs in a Hodi data center, in your jurisdiction, with databases, email and security in the same hosting.



With Docker, everything else is on you


Docker answers one question: "does my application run the same way everywhere?". It does not answer the questions of production. Before you go with containers, make sure you have an answer to each of these:


  • Who updates? Your base images (node:20, php:8.3-fpm, python:3.12...) start ageing the day they are published. They need to be rebuilt regularly, and the host system and Docker itself need updates too.
  • Who protects? A container brings no WAF, no antivirus and no bot filtering. A port published by mistake (a database exposed to the Internet, for example) is a common hole.
  • Who backs up? Containers are disposable, your data is not. Volumes, databases and uploaded files must be backed up separately, preferably off the server, and restores must be tested. It is the most common oversight, and people find out the day they need it.
  • Who watches? A container restarting in a loop, a full disk, an expired certificate: you need monitoring, alerts, and someone to respond.
  • Who handles certificates and routing? You need a reverse proxy (Traefik, Caddy, nginx) and SSL certificate renewal.


None of this is out of reach, but it is a job in its own right, and it costs time every month.



When Docker is still the right choice


Let us be honest: Hodifly does not cover everything. Docker makes sense when your application needs something web hosting does not provide:


  • a language or runtime Hodifly does not support (Go, Java, Rust, .NET...);
  • specific system binaries, root access, or services such as Elasticsearch.


In that case you can stay with Hodi: take a virtual server, preferably a managed one. Our team then takes care of the system, monitoring and security, and you stay in control of your containers.


For everything else (static sites, PHP, Laravel, Symfony, Node, Next.js, Nuxt, Django, Flask, FastAPI, Rails...), Hodifly does the job with no container to maintain. See What can I deploy on Hodifly?



Moving from Docker to Hodifly


If you want to stop managing containers, the road is shorter:


  1. Install the Hodifly command line (npm i -g hodifly) and connect it to your hosting with hodifly login. It is what reads your Docker files and prepares the project in the next steps. See How do I deploy from my terminal with the Hodifly CLI?
  2. Read the plan: in the project folder, hodifly import --dry-run reads your Dockerfile and docker-compose.yml. It shows what Hodifly takes over (runtime, build command, startup file, environment variables, database) and what does not carry over. Nothing is sent and no sign-in is needed. See Import a Docker project.
  3. Create the project: hodifly import --domain YOUR-DOMAIN --repo my-org/my-app creates the project, imports your environment variables and replaces the MySQL or PostgreSQL service of your docker-compose.yml with a database on your hosting, whose credentials go straight into the project's variables. It also writes a hodifly.json to commit. You no longer need your Dockerfile after that. The repository must first be connected in cPanel > Hodifly (see How do I connect my Git repository?); with no GitHub or GitLab, use --push instead of --repo ....
  4. Bring your data over: export the database from the container (docker compose exec db mysqldump ... or pg_dump), then import it with phpMyAdmin or phpPgAdmin in cPanel.
  5. Move persistent files out of the project folder, which is replaced on every deployment (see How do I move from Supabase to a database hosted with Hodi?, section on uploaded files).
  6. Push your code, with hodifly.json: every push is deployed automatically.


Backups, security and monitoring are then included, with nothing to configure.


💡 Node, Python and Ruby applications require a SITE PRO web hosting plan (or higher). Static sites and PHP applications work on every plan.


Not sure? Write to us: our team will look at your project with you and tell you whether Hodifly fits, or whether a virtual server is a better match. Migration is free.

Updated on: 02/12/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!