Open iancward opened 1 year ago
It looks like Visual Studio, being a 32 bit application, is redirected to C:\Windows\SysWow64
instead. The old MicrosoftDockerProvider updated the Path to add the docker installation directory, whereas the new installation script merely copies docker.exe
and docker.exe
to C:\Windows\System32
.
I imagine the new script should probably add the docker installation directory to the PATH the same way that the old provider did.
I originally opened this in https://github.com/microsoft/Windows-Containers/issues/393, but maybe this is a better repository to pose the issue.
Hi there; I support some legacy .Net Framework applications and we had met with some degree of success putting them into containers and migrating them to the cloud. For our build environment, we have been leveraging Windows Server 2019 with Visual Studio 2019 Build Tools and Docker installed through the OneGet MicrosoftDockerProvider which is what the Microsoft documentation had a while back.
The OneGet provider has been deprecated since May, so we tried installing through the script provided in this repository for docker-ce; however, Visual Studio build tools complains that it can't locate Docker, even though it is, in fact, installed.
Is there something missing from the install script that Visual Studio is looking for? Or is there any way to use Visual Studio to build with containerd instead of Docker?
It looks like the container target is running
docker --version
which runs fine in the same PowerShell prompt.where.exe
also reports thatdocker
is inC:\Windows\System32
: