美文网首页
Docker安装

Docker安装

作者: Caen | 来源:发表于2017-09-15 16:13 被阅读0次

一、首先关闭selinux:

1、setenforce 0

2、sed-i '/^SELINUX=/c\SELINUX=disabled'/etc/selinux/config

二、在Fedora EPEL源中已经提供了docker-io包,下载安装epel:

1、rpm -ivhhttp://mirrors.sohu.com/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm

2、sed-i 's/^mirrorlist=https/mirrorlist=http/'/etc/yum.repos.d/epel.repo

三、yum安装docker-io:

1、yum -y installdocker-io

四、启动docker

1、service docker start

相关文章

网友评论

      本文标题:Docker安装

      本文链接:https://www.haomeiwen.com/subject/owxssxtx.html