Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Commit

Permalink
docs(docker): 开机自启动设置
Browse files Browse the repository at this point in the history
  • Loading branch information
zjZSTU committed Sep 19, 2019
1 parent 4f2d76e commit 4493625
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/source/docker/basic/[Ubuntu 16.04]可选设置.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ $ sudo chmod g+rwx "$HOME/.docker" -R

## 开机自启动

...
使用`systemctl`命令实现`docker`守护进程开机自启动

```
# 允许开机自启动
$ sudo systemctl enable docker
# 停止开机自启动
$ sudo systemctl disable docker
```

0 comments on commit 4493625

Please sign in to comment.