Using VS2019 with docker on another VM, not a nested VM
A question, which may be slightly off-topic in this forum, but thought I would give it a try.
My primary dev machine is a MacBook pro with plenty of ram - 50% of the time I am doing .net development in a Windows Server 2019 VM) using VMWare Fusion - works great for me.
Recently I. have wanted to be able to use linux docker images, and from what I understand you can do this on Windows server 2019 - and it should work fine - except, because my Windows Server 2019 is already running in a VM, I have been unable to get the 'nested virtualization' working - after several failed attempts (I can use and run windows containers but that is not what I need right now).
Because doing this (running a linux container under hypervisor) essentially spins up a (nested) VM anyway, is it possible to some how tell VS2019 to use docker running on another machine, or in my case another VM - instead of in a nested VM? I couldn't find where in VS the settings are to tell it which docker to point at/use.
I typically have my Windows Server 2019 VM and Ubuntu 18.04 VM both running as VM's on my Mac at the same time - and my Ubuntu VM already has docker running fine - so is there someway to tell VS2019 to use that docker, instead of one it spins up for itself when working with docker thru VS?
Thanks in advance.
0 comments:
Post a Comment