Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There 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)



So 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/

   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

Then in Rancher Desktop you enable WSL integration as shown here: 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!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: