Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The most correct answer is that you need to build a base image, as many others already told you.

Another thing that I would question is why would you be running containers locally so much it becomes a problem?

As you said, containers are great for shipping code; use them for it. Locally, run your code in the current environment.

You should only run a container locally if you need to debug an error in production that you suspect is related to the environment.



If it weren't painful, then not running in a container locally would just be adding pointless differences between dev and production environments, which is always asking for trouble.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: