Skip to main content

Install docker on Ubuntu 20.04

There is a little problem because there is no Docker repository for Focal fossa yet. Based on standard documentation, only repository modified:

$ sudo apt-get update

$ sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg-agent \
$ curl -fsSL | sudo apt-key add -

Point 3 from documentation where we need to add repository, just add older one:

$ sudo add-apt-repository "deb [arch=amd64] eoan test"

That is all, now you can install Docker:

 $ sudo apt-get update
 $ sudo apt-get install docker-ce docker-ce-cli

And test it:

sudo docker run hello-world

Docker on Ubuntu 20.04

Docker compose you can install without any problem using standard documentation.

Add new comment


This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

We use cookies on our website to enhance your user experience. We also use Google analytics and ads.

Click here to read more I've read it