CentOS 6/7系列安裝Docker

來源:互聯網
上載者:User

CentOS 6/7系列安裝Docker

CentOS

The Docker package is available via the EPEL repository. These instructions work for CentOS 6 and later. They will likely work for other binary compatible EL6 distributions such as Scientific Linux, but they haven't been tested.

Please note that this package is part of Extra Packages for Enterprise Linux (EPEL), a community effort to create and maintain additional packages for the RHEL distribution.

Also note that due to the current Docker limitations, Docker is able to run only on the 64 bit architecture.

To run Docker, you will need CentOS6 or higher, with a kernel version 2.6.32-431 or higher as this has specific kernel fixes to allow Docker to run.

 使用EPEL軟體倉庫可以安裝docker,版本必須在centos6 以後

如果是centos7

下載並安裝這個軟體包

wget http://mirror.hust.edu.cn/epel/beta/7/x86_64/epel-release-7-0.2.noarch.rpm

rpm -ivh

epel-release-7-0.2.noarch.rpm

如果是centos6

wget http://mirrors.hustunique.com/epel/6/i386/epel-release-6-8.noarch.rpm

rpm -ivh

epel-release-6-8.noarch.rpm

yum install docker-io 用上面這個命令安裝就可以了

如果之前的系統中存在docker這個軟體,最好先刪除掉這個包,一個老舊的包

$ service docker start

$ chkconfig docker on

 

Docker的搭建Gitlab CI 全過程詳解

Docker安裝應用(CentOS 6.5_x64)

Docker 和一個正常的虛擬機器有何區別?

在 Docker 中使用 MySQL

Docker 將改變所有事情

Docker安裝應用(CentOS 6.5_x64)

Docker 的詳細介紹:請點這裡
Docker 的:請點這裡

本文永久更新連結地址:

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.