Long time ago we had simple instalation procedure for docker. It can be installed by root or by unpriveleged user. There was some differences.
For now, installing Docker is even simplier than couple years ago. There are 2 main ways:
-
- Setup a repository for easy update in future (recomended)
-
- By hand for difficult update in future
Recomended way
Update index of package database:
sudo apt update
Install required packages:
sudo apt-get install \
ca-certificates \
curl \
gnupg \
lsb-release
Add Docker’s official GPG key: