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.
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 🙂
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.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 🙂