When developing for example an angular 2web app, why should I run it inside a docker container? I can see the following advantages:
Regarding the fact that in a development environment webpack or an equivalent is used as a server, but not on production where only static build files are served, there are not many other similarities.
Are there any other real advantages?
Regarding docker containers on a production environment, there are too many advantages, but surely it's up to you to see the advantages when you compare to your current architecture.
Some common are
can't say enough though.
I'm editing because I understand your real question was about using docker in development state. For me, some are:
The main advantages are