4 ms·
I always develop inside a virtual machine, with a shared folder in between so I can write code on the host, but everything runs in the guest.
by mahouse 12y ago
I always develop inside a virtual machine, with a shared folder in between so I can write code on the host, but everything runs in the guest.
- falcolas 12y agoI have found out the hard way that a `rm -rf /*` will delete the contents of a `/vagrant/` file... Huzzah for git.
- attilagyorffy 12y agoThat's also a good solution I think. One of the main advantages of using containers though is real portability. This means in theory you could just push your container in development into production without too much hassle and making administrators nervous :) That's not the same level of portability a full VM would give you. Admittedly this is more of a discussion about containers and security than npm itself but I'm interested in discovering the options out there. I may attempt to move all my stuff to containers for a bit and write about my findings.