mirror of
https://github.com/yeasy/docker_practice.git
synced 2024-12-24 22:18:54 +00:00
Fix issue#12, cmd should be run with root privilege
This commit is contained in:
parent
b5d4a05d4b
commit
cef1322014
@ -13,8 +13,8 @@ CentOS7系统CentOS-Extras库中已带Docker,可以直接安装:
|
||||
$ sudo yum install docker
|
||||
```
|
||||
|
||||
安装之后启动Docker服务,并让它随系统启动自动启动。
|
||||
安装之后启动Docker服务,并让它随系统启动自动加载。
|
||||
```
|
||||
$ service docker start
|
||||
$ chkconfig docker on
|
||||
$ sudo service docker start
|
||||
$ sudo chkconfig docker on
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user