Hacker News new | past | comments | ask | show | jobs | submit login

Don’t fall for this. It’s too good and I can’t get out now since nothing else than vscode supports it.

Dependencies, env vars, dev databases, ports, everything all written up in code and ready to use once you open the workspace. All without messing up your host pc. Works also via ssh.




JetBrains has an official DevContainer extension for a while now[0], though I can't vouch how well it works.

I've seen devcontainers used in various projects, and how it further leads to a bigger divide between dev and ops. Your team should standardize on a single OS and software stack and life will be easier, + developers will also learn something about Ops and the systems they deploy to. I know, unpopular opinion, with the pervasiveness of Kubernetes and backend systems developed on Macs.

[0] https://plugins.jetbrains.com/plugin/21962-dev-containers


JetBrain's implementation is far worse, though I hope Fleet will be their saving grace.


I tried JetBrains version first. Sadly it doesn't really work well.


You can SSH in and use vim or emacs the way god intended.

You can also connect via JetBrains Gateway.


> nothing else than vscode supports it

Isn’t it just like remote development? I’d expect you to be able to e.g. run Vim inside the container, use Emacs TRAMP to connect to it, or `rmate` to edit the files inside in e.g. Sublime.


Intellij supports it (a bit) via remote development. It starts up a container and runs the ide back end inside of it.

It's not ergonomic at all thought, because now you need to have 2 IDE's running. The one that managed the container and the one inside the container


If using vim, you don't really need any of this. kubectl exec is enough. Too bad I can never seem to get good enough at vim for this workflow however (even though I really want to).


huh? are you doing a bit or just didn't look in to it at all?

even emacs supports it: https://happihacking.com/blog/posts/2023/dev-containers-emac...


Thanks for the link, this definitely didn't seem to be supported a few years ago when I last checked.




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

Search: