I've installed docker engine according to the following instructions: https://docs.docker.com/engine/install/binaries/#install-server-and-client-binaries-on-windows
I'm trying to run Linux containers on Windows 11, without Docker Desktop:
PS C:\> docker run -d -p 80:80 docker/getting-started
Unable to find image 'docker/getting-started:latest' locally
latest: Pulling from docker/getting-started
docker: no matching manifest for windows/amd64 10.0.22000 in the manifest list entries.
See 'docker run --help'.
I believe I'm getting the above error because dockerd is configured for Windows containers:
PS C:\> docker info -f '{{.OSType}}/{{.Architecture}}'
windows/x86_64
I've tried to use DockerCli.exe -SwitchLinuxEngine
however it doesn't seem to have been installed:
PS C:\> DockerCli.exe
DockerCli.exe : The term 'DockerCli.exe' is not recognized as the name of a cmdlet ...
How can I switch to Linux containers?