centos6.8安装docker
发布日期:2022-02-17 02:39:47 浏览次数:17 分类:技术文章

本文共 3228 字,大约阅读时间需要 10 分钟。

1.系统版本

[root@ybsrv1 ~]              # uname -a                                                                                               Linux ybsrv1 2.6.32-642.el6.x86_64               #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux                                                                                                                                                                               [root@ybsrv1 ~]              # cat /etc/redhat-release                                                                                               CentOS release 6.8 (Final)

2.安装epel

rpm -Uvh http://ftp.riken.jp/Linux/fedora/epel/6Server/x86_64/epel-release-6-8.noarch.rpm

或者

yum install -y http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm

或者

yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

>>><<<

3.安装docker

yum install -y docker-io
Loaded plugins: fastestmirror, refresh-packagekit, security                                                                                              Setting up Install Process                                                                                              Loading mirror speeds from cached hostfile                                                                                               * base: mirrors.aliyun.com                                                                                               * epel: mirrors.tuna.tsinghua.edu.cn                                                                                               * extras: mirrors.aliyun.com                                                                                               * updates: mirrors.aliyun.com                                                                                              No package docker-io available.                                                                                              Error: Nothing to               do

参考:

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  https://get.docker.com/rpm/1.7.1/centos-6/RPMS/x86_64/docker-engine-1.7.1-1.el6.x86_64.rpm

启动:

service network start

 

 

转载地址:https://blog.csdn.net/qq_39811414/article/details/108969086 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:mouseenter、mouseleave、mouseover、mouseout理解
下一篇:Vuex分模块使用

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2023年05月29日 18时40分59秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

最新文章

Lesson 41 动手实现 React-redux(六):React-redux 总结 2020-07-07 03:06:47
Lesson 40 动手实现 React-redux(五):Provider 2020-07-07 03:06:19
Lesson 39 动手实现 React-redux(四):mapDispatchToProps 2020-07-07 03:05:51
Lesson 38 动手实现 React-redux(三):connect 和 mapStateToProps 2020-07-07 03:05:22
Lesson 37 动手实现 React-redux(二):结合 context 和 store 2020-07-07 03:04:26
Lesson 36 动手实现 React-redux(一):初始化工程 2020-07-07 03:03:58
Lesson 35 动手实现 Redux(六):Redux 总结 2020-07-07 03:03:30
Lesson 34 动手实现 Redux(五):不要问为什么的 reducer 2020-07-07 03:03:01
Lesson 33 动手实现 Redux(四):共享结构的对象提高性能 2020-07-07 03:02:33
Lesson 32 动手实现 Redux(三):纯函数(Pure Function)简介 2020-07-07 03:02:05
Lesson 31 动手实现 Redux(二):抽离 store 和监控数据变化 2020-07-07 03:01:37
Lesson 30 动手实现 Redux(一):优雅地修改共享状态 2020-07-07 03:00:54
Lesson 29 React.js 的 context 2020-07-07 03:00:19
Lesson 28 高阶组件(Higher-Order Components) 2020-07-07 02:59:48
Lesson 27 实战分析:评论功能(六) 2020-07-07 02:59:05
Lesson 26 实战分析:评论功能(五) 2020-07-07 02:58:37
Lesson 25 实战分析:评论功能(四) 2020-07-07 02:58:09
Lesson 24 PropTypes 和组件参数验证 2020-07-07 02:57:41
Lesson 23 dangerouslySetHTML 和 style 属性 2020-07-07 02:57:13
Lesson 22 props.children 和容器类组件 2020-07-07 02:56:44