mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update fedora doc
`service` is deprecated from Fedora v21. It's important to enable and start the `docker` daemon using `systemctl`. Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com>
This commit is contained in:
parent
bece5b82a8
commit
6a64865991
1 changed files with 6 additions and 6 deletions
|
@ -74,7 +74,7 @@ There are two ways to install Docker Engine. You can install with the `yum` pac
|
|||
|
||||
5. Start the Docker daemon.
|
||||
|
||||
$ sudo service docker start
|
||||
$ sudo systemctl start docker
|
||||
|
||||
6. Verify `docker` is installed correctly by running a test image in a container.
|
||||
|
||||
|
@ -123,7 +123,7 @@ There are two ways to install Docker Engine. You can install with the `yum` pac
|
|||
|
||||
4. Start the Docker daemon.
|
||||
|
||||
$ sudo service docker start
|
||||
$ sudo systemctl start docker
|
||||
|
||||
5. Verify `docker` is installed correctly by running a test image in a container.
|
||||
|
||||
|
@ -163,7 +163,7 @@ To create the `docker` group and add your user:
|
|||
|
||||
To ensure Docker starts when you boot your system, do the following:
|
||||
|
||||
$ sudo chkconfig docker on
|
||||
$ sudo systemctl enable docker
|
||||
|
||||
If you need to add an HTTP Proxy, set a different directory or partition for the
|
||||
Docker runtime files, or make other customizations, read our Systemd article to
|
||||
|
|
Loading…
Add table
Reference in a new issue