Is this a docs issue?
Type of issue
Information is incorrect
Description
On Ubuntu 22.04+, the following command from the Docker Desktop installation docs fails:
sudo apt-get install ./docker-desktop-amd64.deb
Error:
E: Unsupported file ./docker-desktop-amd64.deb given on commandline
This happens because apt-get does not support installing local .deb files using a relative path.
The equivalent command works correctly:
sudo apt install ./docker-desktop-amd64.deb
It appears the documentation is mixing apt and apt-get. This is a hard failure, not a warning that can be ignored.
Discussed Docs Link
Location
https://docs.docker.com/desktop/setup/install/linux/ubuntu/
Suggestion
Use sudo apt install ./docker-desktop-amd64.deb
and not
sudo apt-get install ./docker-desktop-amd64.deb