Make sure that you are in the folder contain .deb file first. I have the same issue with you cause I run this command at the wrong directory path.
sudo apt-get update
sudo apt-get install ./docker-desktop-amd64.deb
If your .deb file is in Downloads, the cd to Downloads and run the command