Skip to content

Commit

Permalink
Merge pull request moby#18790 from tbonza/master
Browse files Browse the repository at this point in the history
updated fedora yum to dnf package manager
  • Loading branch information
moxiegirl committed Dec 20, 2015
2 parents 9f30636 + 0635403 commit 91b56a7
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions docs/installation/fedora.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ reported kernel bugs may have already been fixed on the latest kernel packages

## Install

There are two ways to install Docker Engine. You can install with the `yum` package manager. Or you can use `curl` with the `get.docker.com` site. This second method runs an installation script which also installs via the `yum` package manager.
There are two ways to install Docker Engine. You can install with the `dnf` package manager. Or you can use `curl` with the `get.docker.com` site. This second method runs an installation script which also installs via the `dnf` package manager.

### Install with yum
### Install with DNF

1. Log into your machine as a user with `sudo` or `root` privileges.

2. Make sure your existing yum packages are up-to-date.
2. Make sure your existing dnf packages are up-to-date.

$ sudo yum update
$ sudo dnf update

3. Add the yum repo yourself.

Expand All @@ -57,7 +57,7 @@ There are two ways to install Docker Engine. You can install with the `yum` pac

4. Install the Docker package.

$ sudo yum install docker-engine
$ sudo dnf install docker-engine

5. Start the Docker daemon.

Expand Down Expand Up @@ -98,9 +98,9 @@ There are two ways to install Docker Engine. You can install with the `yum` pac

1. Log into your machine as a user with `sudo` or `root` privileges.

2. Make sure your existing yum packages are up-to-date.
2. Make sure your existing dnf packages are up-to-date.

$ sudo yum update
$ sudo dnf update

3. Run the Docker installation script.

Expand Down Expand Up @@ -177,16 +177,16 @@ This configuration allows IP forwarding from the container as expected.

## Uninstall

You can uninstall the Docker software with `yum`.
You can uninstall the Docker software with `dnf`.

1. List the package you have installed.

$ yum list installed | grep docker yum list installed | grep docker
$ dnf list installed | grep docker dnf list installed | grep docker
docker-engine.x86_64 1.7.1-0.1.fc21 @/docker-engine-1.7.1-0.1.fc21.el7.x86_64

2. Remove the package.

$ sudo yum -y remove docker-engine.x86_64
$ sudo dnf -y remove docker-engine.x86_64

This command does not remove images, containers, volumes, or user-created
configuration files on your host.
Expand Down

0 comments on commit 91b56a7

Please sign in to comment.