Should we deploy Phoenix apps, with or without Docker?

Should we deploy Phoenix apps, with or without Docker?

It depends on your background and the background of your shop.

If you already have infrastructure that massively relies on docker, just deploy your app to docker.

If you want to have easy deployment and do not plan to use hot-upgrade features of the BEAM and your hoster supports docker containers, just use them.

If though you want to pull any benefit from the BEAMs hot-upgrades, then you have already ruled out docker and shouldn’t use it.

Of course there may be other reasons in favor of docker or against it, but I do ask the first 2 questions (minus hot-upgrades) everytime when a customer wants to know if we should deploy via docker or bare.

6 Likes