docker_practice/install/centos.md
Ensky Lin a795bf863a 修正多個用詞
"s/程序/程式/g" "s/性能/效能/g" "s/如下/以下/g" "s/加載/載入/g" "s/獲取/取得/g" "s/服務器/伺服器/g" "s/信息/訊息/g" "s/註釋/註解/g" "s/裏/裡/g" "s/構建/建立/g" "s/配置/設定/g"
2014-11-24 22:54:30 +08:00

23 lines
587 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## CentOS 系列安裝 Docker
Docker 支持 CentOS6 及以後的版本。
### CentOS6
對於 CentOS6可以使用 [EPEL](https://fedoraproject.org/wiki/EPEL) 套件庫安裝 Docker命令以下
```
$ sudo yum install http://mirrors.yun-idc.com/epel/6/i386/epel-release-6-8.noarch.rpm
$ sudo yum install docker-io
```
### CentOS7
CentOS7 系統 `CentOS-Extras` 庫中已內建 Docker可以直接安裝
```
$ sudo yum install docker
```
安裝之後啟動 Docker 服務,並讓它隨系統啟動自動載入。
```
$ sudo service docker start
$ sudo chkconfig docker on
```