DEV Community

Discussion on: Dockerizing modern web apps

tux0r profile image

The awesomeness of all this is that once you build a docker image and run it somewhere you will get the same thing running everywhere.

For this example project, Docker even has portability disadvantages: While your index.html can, indeed, be hosted just anywhere, even on rusty 16-bit (or even 36-bit) hardware with really obscure operating systems, Docker has a very short list of supported operating systems.

hoverbaum profile image
Hendrik Author

True point. For this super simple example as well as for most websites Docker is an overkill. You can usually get more benefits out of using a dedicated static hosting solution.

Though you can find yourself in situation where companies want to do everything in Docker just for consistencies sake.

All in all very valid point, though the point of this post is more about how to rather then should you do this 🙂