Right-click the Docker Desktop icon in your system tray.
If it says “Switch to Windows containers”, it’s currently in Linux mode. If not, select Switch to Linux containers.
Wait for Docker to restart.