I'm not quite sure that I understand the advantages of doing development work inside of the container. What am I missing?
There are many advantages of containerized development. One example would be the protection of root environment from version pollution. My team uses and supports 3 versions of a framework, how do I test and develop in all of them without one environment affecting the other?
Personally I would use virtualenvs with Python to solve that problem you described.