码迷,mamicode.com
首页 > 数据库 > 详细

oracle linux 6 docker 安装(包括编译git源码)

时间:2017-03-23 14:42:35      阅读:260      评论:0      收藏:0      [点我收藏+]

标签:html   use   tar   sea   ora   git源   dock   code   步骤   

  docker对安装系统的内核版本有严格的要求,本文针对oracle linux 6.5进行讲解,其它系统参见:

  https://docs.docker.com/v1.5/installation/

  下面引用官网的一句话来只出docker对在oracle linux系统安装的要求:

  Docker requires the use of the Unbreakable Enterprise Kernel Release 3 (3.8.13) or higher on Oracle Linux. This kernel supports the Docker btrfs storage engine on both Oracle Linux 6 and 7.

  在安装时请确保可以联网。安装步骤如下:

1. 更新班级yum配置(参见: http://public-yum.oracle.com/getting-started.html):

  # cd /etc/yum.repos.d
  # wget http://yum.oracle.com/public-yum-ol6.repo

2. 修改 /etc/yum.repos.d/public-yum-ol6.repo添加如下配置:

[public_ol6_addons]
name=Oracle Linux $releasever addons ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/addons/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

 

3. 安装docker:

  yum install docker

4. 安装完成后启动docker(使用说明参见:https://docs.docker.com/v1.5/installation/oracle/):

  service docker start

5. 如果想自定义docker的一些启动配置,参见:

  https://docs.docker.com/v1.5/articles/systemd/

 

oracle linux 6 docker 安装(包括编译git源码)

标签:html   use   tar   sea   ora   git源   dock   code   步骤   

原文地址:http://www.cnblogs.com/foreverstars/p/6604440.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!