I found some tips online but I couldn't really follow.
I tried:
docker run --name nginx1 -p 80:80 -d nginx
and got
Unable to find image 'nginx:latest' locally
latest: Pulling from library/nginx
C:\Program Files\Docker\Docker\Resources\bin\docker.exe: no matching manifest for windows/amd64 10.0.18362 in the manifest list entries.
See 'C:\Program Files\Docker\Docker\Resources\bin\docker.exe run --help'.
Edit: solved by running Docker in experimental mode (right click Docker Desktop instance > Settings > check Experimental features)