Debian9安装docker

删除旧版本

apt-get remove docker docker-engine docker.io

更新软件包

apt-get update

添加https支持

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

添加GPGkey

curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -

添加Debian的docker源

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

更新

apt-get update

安装

apt-get install docker-ce

来源:https://sunzq.io/2018/05/25/Debian9%E5%AE%89%E8%A3%85Docker/

评论

Popular Posts

随身WiFi折腾指南: 解锁、刷机与DIY

90个你不知道的冷门知识及精彩点评

PHPWind 文件及数据结构相关文档

金山PDF教育版(WPS PDF独立版)

其实所有的电影都很枯燥

解决Ubuntu桌面上Free Download Manager无法打开的问题

WPS Office教育考试专用版

ThinkPHP - 开源PHP框架

盾之勇者成名录 盾の勇者の成り上がり (2019)

好好生活·享受幸福