SET UP THE REPOSITORY
1. Update the
aptpackage index and install packages to allow
aptto use a repository over HTTPS:
2. Add Docker’s official GPG key:
Verify that you now have the key with the fingerprint
9DC8 5822 9FC7 DD38 854A E2D8 8D81 803C 0EBF CD88, by searching for the last 8 characters of the fingerprint.
3. Use the following command to set up the repository. To add the or repository, add the word
test(or both) after the word
stablein the commands below.
INSTALL DOCKER ENGINE
aptpackage index, and install the latest version of Docker Engine and containerd
2. Verify that Docker Engine is installed correctly by running the