November 2018
Beginner
230 pages
6h 4m
English
We need to set up the Docker repository first, and then we can do the installation, so let's take care of the repo now.
The first step will be to update the apt package index. Use the following command to do that:
# update apt-get librariessudo apt-get update
Now we need to install some supporting packages:
# install required packagessudo apt-get install \ apt-transport-https \ ca-certificates \ curl \ software-properties-common
Next, we need to get the GPG key for Docker:
# get the GPG key for dockercurl -fsSL https://download.docker.com/linux/ubuntu/gpg | \ sudo apt-key add -
You can confirm that you have added Docker's GPG key successfully; it will have a fingerprint of 9DC8 5822 9FC7 DD38 ...
Read now
Unlock full access