Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1859  / 2 Years ago, wed, december 22, 2021, 3:31:35

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?


More From » 22.04

 Answers
1

I found a simple solution. Just move the .deb installation file to Home directory and the $sudo apt-get install ./docker-desktop-<version>-<arch>.deb command will install Docker Desktop for you.


[#364] Thursday, December 23, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
atchcommo

Total Points: 114
Total Questions: 130
Total Answers: 101

Location: Cook Islands
Member since Sat, Oct 16, 2021
3 Years ago
atchcommo questions
Fri, May 13, 22, 08:22, 2 Years ago
Wed, Mar 9, 22, 20:14, 2 Years ago
Sun, Jun 19, 22, 17:56, 2 Years ago
;