åèï¼å®ç½ææ¡£https://docs.docker.com/install/linux/docker-ce/ubuntu/#prerequisites
ç³»ç»è¦æ±ï¼
- Artful 17.10 (Docker CE 17.11 Edge and higher only)
- Xenial 16.04 (LTS)
- Trusty 14.04 (LTS)
æ°çDockerå为社åºçï¼CEï¼åä¼ä¸ç(EE)ï¼å®ä»¬å¯¹åºç软件å åä¸åãå¨å®è£ æ°çæ¬ä¹åï¼ç¡®è®¤å¸è½½æ§çæ¬ã
$ sudo apt remove docker docker-engine docker.io
ç¶åç¡®ä¿aptå¯ä»¥ä½¿ç¨Https
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
æ·»å Docker 宿¹GPG Key:
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add –
X86_64/AMD64
sudo add-apt-repository \
“deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable”
ARMHF
sudo add-apt-repository \
“deb [arch=armhf] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable”
å®è£ Docker CE
apt update
apt install docker-ce
install success