E: Unsupported file ./docker-desktop-amd64.deb given on commandline

Hello,

New to Docker and trying to install Docker Desktop on Zorin Linux 18.1 (new install), using this doc:

So I do this:

$ sudo apt-get update

Reading package lists… Done

And get stuck here:

$ sudo apt install ./docker-desktop-amd64.deb
Reading package lists… Done
E: Unsupported file ./docker-desktop-amd64.deb given on commandline

How do I proceed from here?

This is the output also when the file doesn’t exist. Make sure the file is where you run the command. You can try

stat ./docker-desktop-amd64.deb

or

file ./docker-desktop-amd64.deb

to confirm that the file is there and not corrupt. “file” should return something like

docker-desktop-amd64.deb: Debian binary package (format 2.0), with control.tar.xz , data compression xz

OK clear, thanks rimelek!