This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1.Install packages to allow apt to use a repository over HTTPS: | |
sudo apt-get install -y --no-install-recommends \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
software-properties-common | |
#2.Add Docker official GPG key: | |
curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add - |