ubuntu Installation

Installing Docker on Ubuntu 18.04

A memo on how to install Docker on Ubuntu 18.04. The commands to execute for installation are listed in order below. <pre><code>sudo apt updatesudo apt install apt-transport-https ca-certificates curl software-properties-commoncurl -fsSL https://download.docker.com/linux/ubuntu/gpg ...

Shou Arisaka
1 min read
Oct 20, 2025

A memo on how to install Docker on Ubuntu 18.04.

The commands to execute for installation are listed in order below.

sudo apt update
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
# apt-cache policy docker-ce
sudo apt install docker-ce
# sudo systemctl status docker
# sudo usermod -aG docker ${USER} # Enable execution without sudo

Share this article

Shou Arisaka Oct 20, 2025

๐Ÿ”— Copy Links