5 ms·
Install Docker in WSL (still free). Install Rancher Desktop. Connect to Docker in WSL. Or if on Linux same as above, but remove the WSL part.
by WirelessGigabit 4y ago
Install Docker in WSL (still free). Install Rancher Desktop. Connect to Docker in WSL.
Or if on Linux same as above, but remove the WSL part.
- sebazzz 4y agoProblem for developers in the Microsoft stack is that Visual Studio requires Docker Desktop to be installed - unless Rancher is able to fake that.
- rstuart4133 4y ago> Problem for developers in the Microsoft stack is that Visual Studio requires Docker Desktop to be installed I'm not sure what you are referring to here. I run Docker engine in WSL2, and vscode in Windows. It all seems to work seemlessly to me. What am I missing?
- depereo 4y agoVisual Studio is not vscode.
- WirelessGigabit 4y agoHow do you interact with Visual Studio and Docker? I'll see what I can come up with.
- sebazzz 4y agoThere are two facets to this: - It calls Docker (docker command) to build and run images - Visual Studio has an UI to manage containers and images (not sure what it uses under the hood for this)
- WirelessGigabit 4y agoSo by doing what I said I have `docker` in Powershell. To recap, I have the following: Docker (CLI ONLY!!!) on Ubuntu on WSL as described here: https://docs.docker.com/engine/install/ubuntu/ https://docs.docker.com/engine/install/ubuntu/ sudo apt list --installed 2>&1 | grep docker docker-buildx-plugin/kinetic,now 0.10.2-1~ubuntu.22.10~kinetic amd64 [installed,automatic] docker-ce-cli/kinetic,now 5:23.0.0-1~ubuntu.22.10~kinetic amd64 [installed] docker-compose-plugin/kinetic,now 2.15.1-1~ubuntu.22.10~kinetic amd64 [installed,automatic] docker-compose/kinetic,now 1.29.2-2 all [installed] docker-scan-plugin/kinetic,now 0.23.0~ubuntu-kinetic amd64 [installed,automatic] python3-docker/kinetic,now 5.0.3-1 all [installed,automatic] python3-dockerpty/kinetic,now 0.4.1-4 all [installed,automatic] So I'd say start with installing docker-ce-cli Rancher Desktop from here: https://github.com/rancher-sandbox/rancher-desktop/releases https://github.com/rancher-sandbox/rancher-desktop/releases Then in Rancher Desktop you enable WSL integration as shown here: https://imgur.com/a/yKV8S9e https://imgur.com/a/yKV8S9e With this done you should be able to have the docker command in Pwsh I can do docker image ls etc like a full Docker setup!