首页 > 编程知识 正文

linux安装docker,docker安装centos7镜像

时间:2023-05-03 05:24:17 阅读:43978 作者:1981

1 .系统版本

[ root @ Yb SRV 1至] # uname-alinuxybsrv 12.6.32-642.el6.x86 _ 64 #1smptuemay 1017336027336001 utc 2016 x86 _ 65374; 65286 x86 #

rpm-uvh http://FTP.riken.jp/Linux/fedora/epel/6 server/x86 _ 64/epel-relea se-6-8.noarch.rpm或

yum install-y http://mirrors.yun-IDC.com/epel/6/i386/epel-relea se-6-8.noarch.rpm或

yum-y install http://dl.fedora project.org/pub/epel/6/x86 _ 64/epel-relea se-6-8.noarch.rpm交换yum源

安装经纪人

yum install-y docker-ioloadedplugins :快速镜像,刷新-包工具包, securitysettingupinstallprocessloadingmirrorspeedsfromcachedhostfile * base : mirrors.a liyun.com * epel : mirrors.tut extras : mirrors.a liyun.com * updates : mirrors.a liyun.comnopackagedocker-io available.error 3360通告工具参考:

Ubuntu/Debian: curl -sSL https://get.docker.com | sh

Linux 64bit binary: https://get.docker.com/builds/Linux/x86_64/docker-1.7.1

Darwin/OSX 64bit client binary: https://get.docker.com/builds/Darwin/x86_64/docker-1.7.1

Darwin/OSX 32bit client binary: https://get.docker.com/builds/Darwin/i386/docker-1.7.1

Linux 64bit tgz: https://get.docker.com/builds/Linux/x86_64/docker-1.7.1.tgz

Windows 64bit client binary: https://get.docker.com/builds/Windows/x86_64/docker-1.7.1.exe

Windows 32bit client binary: https://get.docker.com/builds/Windows/i386/docker-1.7.1.exe

Centos 6/RHEL 6: https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm

Centos 7/RHEL 7: https://get.docker.com/rpm/1.7.1/centos-7/RPMS/x86_64/docker-engine-1.7.1-1.el7.centos.x86_64.rpm

Fedora 20:https://get.docker.com/rpm/1.7.1/fedora-20/RPMS/x86_64/docker-engine-1.7.1-1.fc20.x86_64.rpm

Fedora 21:https://get.docker.com/rpm/1.7.1/fedora-21/RPMS/x86_64/docker-engine-1.7.1-1.fc21.x86_64.rpm

Fedora 22:https://get.docker.com/rpm/1.7.1/fedora-22/RPMS/x86_64/docker-engine-1.7.1-1.fc22.x86_64.rpm

yum install 3359 get.docker.com/rpm/1.7.1/centos-6/rpms/x86 _ 64/docker-engine-1.7.1-1.el6 .

服务网络启动

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。