Hacker News new | ask | show | jobs
by grp000 1374 days ago
For any python project bigger than trivial, I literally just build a docker image and run it from that.
2 comments

I think that is basically why Docker was invented.
Docker is about doing dev at the speed of ops. That is, ops thinks it is really fast to be able to deploy something in an hour, in dev it has to be more like a second.

So far as Python I think Docker is a way to accelerate the creation of corrupted and uncontrolled environments, so often I have seen people pick some random docker image for Python which turns out to be incorrectly configured, say the default character encoding is EBCDIC instead of UTF-8.

If people learned how to use environment variables and configure their database connections and paths properly we never would have needed docker, unfortunately the only thing sheeple will respond to is a brand.

This is the real answer.