Hacker News new | ask | show | jobs
by cachvico 530 days ago
Does it though? I've developed in remote VMs before and the advantages are clear, but having a fully containerized development environment is really nice too because you can tear the whole thing down and rebuild at the drop of a hat. You can achieve that with a VM and scripts, but a Dockerfile is very lightweight and standard.

Edit: Unless you literally mean "editing code in a container with vi". In which case yes I'd go for the VM too!

2 comments

I am currently doing development on a VM with remote SSH, but I use the terminal on said VM to run a docker container when I need to actually run and build the thing, so it is possible to get both remote SSH tooling and containerization benefits, without needing to build a docker container and SSH into it from vs code, which might be what GP was saying.
Well, if what you're developing is an editor, you'll be editing inside the docker container either way ...