centos7
成都創(chuàng)新互聯(lián)公司專注于永善企業(yè)網(wǎng)站建設(shè),響應(yīng)式網(wǎng)站開發(fā),商城建設(shè)。永善網(wǎng)站建設(shè)公司,為永善等地區(qū)提供建站服務(wù)。全流程定制網(wǎng)站制作,專業(yè)設(shè)計(jì),全程項(xiàng)目跟蹤,成都創(chuàng)新互聯(lián)公司專業(yè)和態(tài)度為您提供的服務(wù)
# vim /etc/yum.repos.d/docker.repo
[DOCKER-CE]
name=docker-ce centos 7 x86_64
baseurl=https://mirrors.aliyun.com/docker-ce/linux/centos/7/x86_64/stable/
gpgcheck=0
enabled=1
環(huán)境配置
# systemctl stop firewalld && systemctl disable firewalld
# yum install iptables-service iptables zlib-devel openssl-devel zlib-devel
# systemctl stop iptables && systemctl disable iptables
# sed -i "s/SELINUX=enforcing/SELINUX=disabled" /etc/selinux/config
安裝docker
# yum list | grep docker-ce
docker-ce.x86_64 3:18.09.2-3.el7 DOCKER-CE
docker-ce-cli.x86_64 1:18.09.2-3.el7 DOCKER-CE
docker-ce-selinux.noarch 17.03.3.ce-1.el7 DOCKER-CE
# yum install docker-ce -y
啟動(dòng)docker
# systemctl start docker
# systemctl enable docker