Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)

Latest docker installation (ubuntu 20.04 and ubuntu 20.10)

The method introduced in Installing docker with ubuntu 20.04 uses the apt repository provided by ubuntu, so the installed version of docker is old. (As of 2021/1/4 Docker version 19.03.8, build afacb8b7f0) You can install the latest docker using the method described in Installing docker on ubuntu 19.10 (

However, according to It says apt-key (8) will last be available in Debian 11 and Ubuntu 22.04., and the last way to use apt-key is Ubuntu 22.04.

A fix has been proposed at to reflect the method of not using apt-key in the official docker documentation, and it worked, so I will introduce it. To do.

sudo apt-get update

sudo apt-get install -y \
    apt-transport-https \
    ca-certificates \
    curl \

curl -fsSL | gpg --dearmor | sudo tee /usr/share/keyrings/docker-ce-archive-keyring.gpg > /dev/null
echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-ce-archive-keyring.gpg] \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker-ce.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli
$ docker --version
Docker version 20.10.1, build 831ebea

Reference page

Recommended Posts

Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)
Docker installation and initialization
Docker on Ubuntu18.04 on WSL2 and VSCode installation instructions
Docker installation
MongoDB installation and authentication settings (Ubuntu18.04)
Build Cakephp environment from docker installation Ubuntu
Simple installation of nginx and Docker using ansible
CI/CD pipeline and Docker
Docker installation on CentOS 6
Docker terms and commands
Note: Ubuntu installation location
Docker installation on WSL2
Docker settings and this and that
Overview of Docker and containers
Install Docker on Ubuntu Server 20.04
Docker Compose basics and commands
Oracle Java 8 on Docker Ubuntu
Install docker and docker-compose on ubuntu in the shortest process
Ruby installation on WSL2 + Ubuntu 20.04
ROS installation Ubuntu compatible version
Xymon client installation for Ubuntu
Installing and building Docker (memo)
Until you put Ubuntu 20 on Windows 10 Home and WSL2 and run Docker
Until you build the docker environment and start / stop the Ubuntu container
Install Docker on Ubuntu and set up remote connection using tls
[Virtualization] Install VMware and build Ubuntu (20.04)
Install java with Ubuntu 16.04 based Docker
Install JDK and JRE on Ubuntu 16.10
Build the latest Samba 4 on Ubuntu 20.04
[Ubuntu] Installation procedure for Amazon Correto 8
Hello World with Docker and C
2. Create Docker image and register Registry
Enable Java 8 and Java 11 SDKs on Ubuntu
Elmer / Ice installation (Ubuntu on WSL)
Microservices With Docker and Cloud Performance
Challenge to install WSL2 and docker
Installing and using Ansible on Ubuntu 16.04
About Docker, disguise server and container
Put Zabbix in Ubuntu with Docker and monitor Docker on the same host