9 ms·
How are you guys spinning up vms, specifically windows vms, so quickly? I used to use virtual box back in the day, but that was a pain and required a manual wi
by ep103 11mo ago
How are you guys spinning up vms, specifically windows vms, so quickly? I used to use virtual box back in the day, but that was a pain and required a manual windows OS install.
I'm a few years out of the loop, and would love a quick point in the right direction : )
- oofbey 11mo agoA docker container isn’t as bulletproof as a VM but it would certainly block this kind of attack. They’re super fast and easy to spin up.
- kwar13 11mo agoFor coding I normally run Linux VMs. But Windows should be doable as well. If you do a fresh install every time then sure it takes a lot of time, but if you keep the install in VirtualBox then it's almost as fast as you rebooting a computer.
- RandomBacon 11mo agoYou take the time to set one up, then you clone it and use the clones for these things.
- gstrike 11mo ago[dead]
- baobun 11mo agoA lot of the world has moved on from virtualbox to primarily qemu+kvm and to some extent xen. Usually with some higher-level tool on top. Some of these are packages you can run on your existing OS and some are distributions with hypervisor for people who use VMs as part of their primary workflows. If you just want quick-and-easy one-off Windows VM and move on, check out quickemu. Libvirt and virt-manager https://wiki.archlinux.org/title/Libvirt https://wiki.archlinux.org/title/Libvirt Quickemu https://github.com/quickemu-project/quickemu https://github.com/quickemu-project/quickemu Proxmox VE https://www.proxmox.com/en/proxmox-ve https://www.proxmox.com/en/proxmox-ve QubesOS https://qubes-os.org https://qubes-os.org Whonix https://whonix.org https://whonix.org XCP-ng https://xcp-ng.org/ https://xcp-ng.org/ You can also get some level of isolation by containers (lxc, docker, podman).
- singlow 11mo agoAlso, you can spin up an ec2/azure/google vm pretty easy too. I do this frequently and it only costs a few bucks. Often more convenient to have it in the data center anyway.
- mjmas 11mo agoWindows does have a builtin sandbox that you can enable. (it also enables copy-paste to it)
- yobert 11mo agoIf you're on a Mac, you probably want OrbStack nowadays. It's fabulous!
- biql 11mo agoNot sure about windows but I solved it for myself with basic provisioning script (could be an ansible playbook also) that installs everything on a fresh linux vm in a few minutes. For macos, there is tart vm that works well with arm64 (very little overhead compared to alternatives). Could be a rented cloud vm in a nearby location with low latency. Being a neovim user also helped not to having to worry about file sync when editing.