I am trying to pull an image from ECS. I do it from WSL2 ubuntu 20.04 command line and I have docker desktop installed with WSL2 based engine. Then I have this error: image operating system "windows" cannot be used on this platform. I did some research and the solution that I found is to "switch to windows container" but now I have a new problem where I cannot run docker in my distro: "The command 'docker' could not be found in this WSL 2 distro. We recommend to activate the WSL integration in Docker Desktop settings." I already have WSL integration in the setting. If I switch back to Linux container I don't have the issue.
I was wondering if there was a solution to be able to run that image inside that distro
Thank you
PS: sorry if i'm not clear English is not my first language