1. 程式人生 > >docker centos安裝部署

docker centos安裝部署

ref ase gin led pos osi name base key

yum update





vim /etc/yum.repos.d/docker.repo

//添加以下內容

[dockerrepo]

name=Docker Repository

baseurl=https://yum.dockerproject.org/repo/main/centos/7/

enabled=1

gpgcheck=1

gpgkey=https://yum.dockerproject.org/gpg





yum install docker-engine -y

docker centos安裝部署