首页 > 系统服务 > 详细

docker-ubuntu安装

时间:2019-08-18 17:23:50      阅读:93      评论:0      收藏:0      [点我收藏+]
sudo apt-get update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
# step 2: 安装GPG证书
curl -fsSL http://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg sudo apt-key add -
# Step 3: 写入软件源信息
sudo add-apt-repository "deb [arch=amd64] http://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable"
# Step 4: 更新并安装 Docker-CE
sudo apt-get -y update
sudo apt-get -y install docker-ce
# Step 5: 启动docker服务
sudo service docker start
 
#注意应为全是sudo下载以及创建所以用
su用户(最高权限)

docker-ubuntu安装

原文:https://www.cnblogs.com/ls1997/p/11372756.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!