Docker EE安装帮助教程,码笔记分享Ubuntu和CentOS的Docker EE安装帮助步骤流程:
Docker EE安装帮助
帮助教程包括Ubuntu14.04 16.04和CentOS 7:
Ubuntu 14.04 16.04 (使用apt-get进行安装)
sudo apt-get -y update
sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.cs.aliyun.com/downloads/docker-ee/2da054e4-588e-4951-ab3d-a8f8d93c357a/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.cs.aliyun.com/downloads/docker-ee/2da054e4-588e-4951-ab3d-a8f8d93c357a/ubuntu $(lsb_release -cs) stable"
sudo apt-get -y update
sudo apt-get -y install docker-ee
# 安装指定版本的Docker-EE:
# Step 1: 查找Docker-EE的版本:
# apt-cache madison docker-ee
# docker-ee | 17.03.0~ee~1-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
# docker-ee | 17.03.1~ee~2-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
# docker-ee | 17.03.1~ee~3-0~ubuntu-xenial | https://download.docker.com/linux/ubuntu xenial/stable amd64 Packages
# Step2 : 安装指定版本的Docker-EE: (VERSION 例如上面的 17.03.0~ee~1-0~ubuntu-xenial)
# sudo apt-get -y install docker-ee=[VERSION]
CentOS 7 (使用yum进行安装)
sudo sh -c 'echo "https://download.cs.aliyun.com/downloads/docker-ee/2da054e4-588e-4951-ab3d-a8f8d93c357a/centos" > /etc/yum/vars/dockerurl'
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
sudo yum-config-manager --add-repo https://download.cs.aliyun.com/downloads/docker-ee/2da054e4-588e-4951-ab3d-a8f8d93c357a/centos/docker-ee.repo
sudo yum makecache fast
sudo yum -y install docker-ee
# 安装指定版本的Docker-EE:
# Step 1: 查找Docker-EE的版本:
# yum list docker-ee.x86_64 --showduplicates | sort -r
# Loading mirror speeds from cached hostfile
# Loaded plugins: branch, fastestmirror, langpacks
# docker-ee.x86_64 17.03.1.ee.3-1.el7.centos docker-ee-stable-17.03
# docker-ee.x86_64 17.03.1.ee.2-1.el7.centos docker-ee-stable-17.03
# docker-ee.x86_64 17.03.0.ee.1-1.el7.centos docker-ee-stable-17.03
# Available Packages
# Step2 : 安装指定版本的Docker-EE: (VERSION 例如上面的 17.03.0.ee.1-1.el7.centos)
# sudo yum -y install docker-ee-[VERSION]
2024年云服务器租用优惠价格,11月最新:
发表评论