Unix - docker command not work on Windows Docker & where Docker image location on Windows is

Hi everyone,

I am newbie trying to learn Docker on Win 11 desktop.

I have installed wsl, enable in Docker, restart PC…
However, the Unix - docker cmd not work.
I have to use command wsl to switch to Ubuntu to make it works.
Several image, container have built & run fine

I could not find the location of image I have built, only see wsl docker_data.vhdx file

My concern is if I missed anything during the set up:

  • Why I can not use the Unix - docker cmd ?
  • Where is the location of my img ? (I tried AppData but not found)
  • There is option to switch to Windows container, I switched to & could not see Linux image/ container. What is the difference between 2 mode ?

Thanks everyone

Ken