zoukankan      html  css  js  c++  java
  • oracle linux 6 docker 安装

      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/

    6. 源码下载:

      https://github.com/docker/docker

    7. 编译:

      https://docs.docker.com/v1.5/contributing/devenvironment/

  • 相关阅读:
    Boost Started on Windows
    7-Zip
    代码的命名规则
    基础扫盲:YEAR关键字 IN操作符
    基础扫盲:INSERT INTO 和 SELECT 结合使用
    知识盲点:存在外键的的表,在插入数据时应该如何操作?
    SQL Identity函数
    SQL 中DateName()函数及DatePart()函数
    OS开发多线程篇—GCD介绍
    经典SQL语句大全
  • 原文地址:https://www.cnblogs.com/foreverstars/p/6604440.html
Copyright © 2011-2022 走看看