4 ms·
As an alternative to WSL docker for windows is also very helpful. I use it to spin up linux images that contain all the devtools that I need, and mount files/c
by Matthias247 10y ago
As an alternative to WSL docker for windows is also very helpful.
I use it to spin up linux images that contain all the devtools that I need, and mount files/code from windows in there. For a terminal just enter the image with exec /bin/sh. To get a consistent experience I also use msys bash (which is bundled with git for windows) for terminal use on windows. With that setup entering and exiting linux containers feels very similar to on OSX.
The downside of docker for windows is that you need HyperV activated, which weans VirtualBox no longer works. The older boot2docker solution worked together with VirtualBox - however it didn't support filesharing between windows and docker containers, so there's unfortunately a tradeoff.
- tracker1 10y agoI run a full Linux VM in HyperV, I install git for windows, which comes with everything I need for the most part.. VS Code and my browsers. From there, I'll do samba sharing from the VM so I can edit in windows, and run in linux. I've tried docker for windows, and even WSL+Ubuntu+Bash, and it's just not as good. I use conemu, VS Code, and Chrome more than anything else.
- KurtMueller 10y agoWhich linux distro do you use and what are your hyper-v settings?
- tracker1 10y agoUbuntu Server 16.04, I give it 12GB (of the 32 on the host) and 2vcpu (iirc). I have a separate SSD for projects, which the VM runs on.