Skip to content

Docker Desktop Ubuntu install docs use apt-get with local .deb, which fails — should use apt install #23891

@Akshat005Chaudhary

Description

@Akshat005Chaudhary

Is this a docs issue?

  • My issue is about the documentation content or website

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions