Skip to content

Comment on Ask HN: Do you use a dev container and why?

Comments

Just use it if you find the need and it's the right tool for the job at hand.

As a tester I use containers for setting up clean test environments, when writing code I use it to get the latest and greatest dev environment from a common depot and on CI platforms it is useful to get all the tools and environment you need setup for you.

It works for every language, some are easier to set up than others though, I never got a debugger to work in a container but never had the need to.

It's best to use the same image for dev test and prod, but not the same running container.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.