|
|
|
|
|
by hombre_fatal
480 days ago
|
|
Can someone describe what it's like to use devcontainers? Is it a last resort, like if your arch is so different from your project environment that you have to go so far as to develop inside a container? I hate even running local docker containers the second I want to do anything inside them. And that's the vibe I get when I read about devcontainers despite wanting to earnestly try it out at one point (I frankly couldn't figure it out back when I tried). |
|
Is this a Go project and you don’t have the right Go tools installed locally? Not a problem, as it’s in the container.
Do you have multiple node/js projects and you don’t want modules or tools to overlap? Each project has its own container.
Do you work on Mac, but want to deploy on Linux? The container makes this work too. (This one is my primary usecase). With a devcontainer, I can work on my Mac without having to install dozens of homebrew packages. Better yet, I can work with others and it doesn’t matter what computer they use, as the dev environment is standardized.
If you ever used Vagrant to work in a dev VM, it’s like that… but much faster to get started.