linux debian docker 安装

参考 https://docs.docker.com/install/linux/docker-ce/debian/#set-up-the-repository

1. 安装必要软件:

apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common

2. 添加apt-get 源 

curl-fsSLhttps://download.docker.com/linux/debian/gpg |sudo apt-key add -

apt-key fingerprint 0EBFCD88

add-apt-repository\"deb [arch=amd64] https://download.docker.com/linux/debian \ $(lsb_release-cs) \ stable"

3. 安装

apt-get update

apt-get install docker-ce

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容