Quantcast
Viewing all articles
Browse latest Browse all 4447

Failed Docker installation attempts: Couldn't not run the the docker installtion .deb file

I am new to Linux and just installed Ubuntu 22.04 LTS version. I follow the instructions on Docker website to install Docker Desktop on my Ubuntu but failed. Below is what I have done:

  1. Set up Docker’s package repository.

    $ sudo apt-get update$ sudo apt-get install \    ca-certificates \    curl \    gnupg \    lsb-release$ sudo mkdir -p /etc/apt/keyrings$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg$ echo \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
  2. Download latest DEB package from the release page.In my case, I downloaded docker-desktop-4.10.1-amd64.deb

  3. Install the package with apt as follows:

     $ sudo apt-get update $ sudo apt-get install ./docker-desktop-<version>-<arch>.deb

However when I ran the last command, the terminal gave an error: E: Unsupported file ./docker-desktop-4.10.1-amd64.deb given on command line

How to fix this problem?


Viewing all articles
Browse latest Browse all 4447

Trending Articles