您好,登錄后才能下訂單哦!
centos7
# 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
環境配置
# 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
啟動docker
# systemctl start docker
# systemctl enable docker
免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。