HACKER Q&A
📣 thiht

Where to deploy a Docker container easily?


What’s the simplest way to deploy a Docker container? By this I mean I have build my image and uploaded it to a registry. Now I want to deploy it somewhere with some basic conf, a few environment variables and maybe some reasonable auto scaling (not mandatory).

What’s the easiest way to do that? AWS? Digital Ocean? Heroku? Somewhere else?


  👤 jjice Accepted Answer ✓
Any PaaS provider likely supports Docker at this point. AWS Elastic Beanstalk, GCP App Engine (I think, not a GCP user myself), Heroku, and DO and Azure have some as well, I just don't know the name.

I have experience with Heroku and AWS Elastic Beanstalk, and both were very simple setups. Install the CLI, run the commands in the docs to push your image to their service, done. I think this should meet your requirements.


👤 tonicbbleking
Pretty easy with Render: https://render.com/

They even build the image for you, so you don't need a registry.


👤 nreece
I highly recommend Google Cloud Run: https://cloud.google.com/run

👤 kwawingu
If you want to omit the registry stage, with KwaWingu.com you can deploy a GitHub repo directly to a container, with full control over the Dockerfile. The container lives behind an SSL-terminated ALB to which you can associate a domain name if you're running a public web service. Auto-scaling not yet supported but coming in the future.

👤 whalifiied
Docker Desktop is a starting point for you. https://www.docker.com/blog/getting-started-with-docker-desk...

👤 tedmiston
Dokku is another option if you are looking for something open source that you can run on a VM on any cloud.

https://github.com/dokku/dokku


👤 gfd
AWS ECS is pretty easy to use

👤 aristofun
Any vps with docker image + docker swarm. As simple as it can get

👤 asimpson
Fly.io is really good.

👤 verdverm
Every major vendor has a solution, as you can see from peer comments. I am partial to Google Cloud Run.

👤 yuppie_scum
AWS elastic beanstalk is good if you have some AWS skill, if not, Heroku is a great place to start.

👤 brunooliv
Digital Ocean works pretty smoothly

👤 rtcoms
Check Caprover