December 2018
Beginner
826 pages
22h 54m
English
Docker keeps a page up to date on how to install Docker on your distribution of choice (see https://docs.docker.com/install). The following are the condensed instructions for Ubuntu.
Run an update to make sure you're ready to install Docker:
$ sudo apt update
Install the GPG key and then add the repository itself:
$ wget https://download.docker.com/linux/ubuntu/gpg$ sudo apt-key add gpg$ sudo apt-add-repository 'deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable'
Now, we can finally install Docker itself (this may take some time):
$ sudo apt install docker-ce -y
We can also check the status of our Docker daemon by using systemctl:
$ systemctl ...
Read now
Unlock full access