The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I wonder how you got that to work.
I like to have my work on a separate drive from the system. On my old laptop, I created a partition -- and received a very slight slap on the wrist. On my new laptop I decided to create a virtual hard drive -- and it worked. But, I noticed things slowing down as I copied my files to it from my old laptop... And finally realized that the anti-virus must have been rescanning the vhd file every time a change was made.
I removed the vhd and I'm simply using subst now. Alas.
So, if your VM is likewise stored in a file on your disk, why it's it not similarly impacted? Or is it not local?
After playing around with Docker I started wondering if something exists that provides similar functionality for Windows. Say I have a new laptop that I got from HP (I do), I want to be able to create a VHD that I could somehow launch that would then virtually store any changes to my Windows installation, files, registry, etc as another layer on top of what is running on my laptop. I would then be able for example install development software like Visual Studio. Even better I could have two of these VHDs with different versions of Visual Studio, maybe one is a Preview I want to play with. When I'm doing with it, I just delete the VHD and my system is back to the way it came from the factory. I seem to remember 20 years ago when I worked in IT in college we had some software we used for lab computers that kinda worked like this, Deepfreeze maybe? Thanks for any ideas if ya'll know of something like this.
Since my laptop is a little constrained in terms of RAM and CPU I was essentially hoping for something similar to a virtual machine or docker but that is based on the System OS running on my laptop, rather than having to run 2 separate OS's if that makes sense.
Get a new machine, if it's so old a VM will take it down it's time to upgrade your dev box. Seriously, virtualization is supported right down to CPUs now. And testing the latest and greatest software will all but force that anyway. I'd never use a VM for game development or anything graphic intensive, ever. But for most other things they work pretty well.
Also, it's been my experience that VMWare runs faster than VirtualBox. I don't have much experience with Hyper-V since the two aforementioned tend to handle my needs.
Yeah, Docker for Windows is really great and what gave me the idea. I'm just looking for something similar but that is based on my actual System OS instead of a separate docker image, so I'm only running one OS instead of the two normally necessary with Docker. I might be misunderstanding how Docker actually works but usually the docker image you create is based on a different image you download, for example Windows 10, Windows Server, or Windows Nano, etc whereas I want to use the Windows OS already installed on my laptop as the base image if that make sense.