mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-26 15:06:18 +00:00
源->套件庫, 自帶->內建
This commit is contained in:
parent
dbfa8c8b82
commit
8aa09dd966
@ -3,14 +3,14 @@
|
||||
Docker 支持 CentOS6 及以後的版本。
|
||||
|
||||
### CentOS6
|
||||
對於 CentOS6,可以使用 [EPEL](https://fedoraproject.org/wiki/EPEL) 庫安裝 Docker,命令如下
|
||||
對於 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,可以直接安裝:
|
||||
CentOS7 系統 `CentOS-Extras` 庫中已內建 Docker,可以直接安裝:
|
||||
```
|
||||
$ sudo yum install docker
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user