oracle linux 6 docker 安裝(包括編譯git源碼)

來源:互聯網
上載者:User

標籤: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-ol6gpgcheck=1enabled=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源碼)

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.