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:
ripcurld00d 2015-10-18 22:23:37 +03:00
parent bece5b82a8
commit 6a64865991
1 changed files with 6 additions and 6 deletions

View File

@ -59,7 +59,7 @@ There are two ways to install Docker Engine. You can install with the `yum` pac
For Fedora 22 run:
$ cat >/etc/yum.repos.d/docker.repo <<-EOF
$ cat >/etc/yum.repos.d/docker.repo <<-EOF
[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/fedora/22
@ -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