github.com/eikeon/docker@v1.5.0-rc4/docs/sources/installation/fedora.md (about)

     1  page_title: Installation on Fedora
     2  page_description: Installation instructions for Docker on Fedora.
     3  page_keywords: Docker, Docker documentation, Fedora, requirements, virtualbox, vagrant, git, ssh, putty, cygwin, linux
     4  
     5  # Fedora
     6  
     7  Docker is available in **Fedora 19 and later**. Please note that due to
     8  the current Docker limitations Docker is able to run only on the **64
     9  bit** architecture.
    10  
    11  ## Installation
    12  
    13  The `docker-io` package provides Docker on Fedora.
    14  
    15  If you have the (unrelated) `docker` package installed already, it will
    16  conflict with `docker-io`. There's a [bug
    17  report](https://bugzilla.redhat.com/show_bug.cgi?id=1043676) filed for
    18  it. To proceed with `docker-io` installation on Fedora 19, please remove
    19  `docker` first.
    20  
    21      $ sudo yum -y remove docker
    22  
    23  For Fedora 21 and later, the `wmdocker` package will
    24  provide the same functionality as `docker` and will
    25  also not conflict with `docker-io`.
    26  
    27      $ sudo yum -y install wmdocker
    28      $ sudo yum -y remove docker
    29  
    30  Install the `docker-io` package which will install
    31  Docker on our host.
    32  
    33      $ sudo yum -y install docker-io
    34  
    35  To update the `docker-io` package:
    36  
    37      $ sudo yum -y update docker-io
    38  
    39  Now that it's installed, let's start the Docker daemon.
    40  
    41      $ sudo systemctl start docker
    42  
    43  If we want Docker to start at boot, we should also:
    44  
    45      $ sudo systemctl enable docker
    46  
    47  Now let's verify that Docker is working.
    48  
    49      $ sudo docker run -i -t fedora /bin/bash
    50  
    51  > Note: If you get a `Cannot start container` error mentioning SELinux
    52  > or permission denied, you may need to update the SELinux policies.
    53  > This can be done using `sudo yum upgrade selinux-policy` and then rebooting.
    54  
    55  ## Granting rights to users to use Docker
    56  
    57  Fedora 19 and 20 shipped with Docker 0.11. The package has already been updated
    58  to 1.0 in Fedora 20. If you are still using the 0.11 version you will need to
    59  grant rights to users of Docker.
    60  
    61  The `docker` command line tool contacts the `docker` daemon process via a
    62  socket file `/var/run/docker.sock` owned by group `docker`. One must be 
    63  member of that group in order to contact the `docker -d` process.
    64  
    65      $ usermod -a -G docker login_name
    66  
    67  Adding users to the `docker` group is *not* necessary for Docker versions 1.0
    68  and above.
    69  
    70  ## Custom daemon options
    71  
    72  If you need to add an HTTP Proxy, set a different directory or partition for the
    73  Docker runtime files, or make other customizations, read our systemd article to
    74  learn how to [customize your systemd Docker daemon options](/articles/systemd/).
    75  
    76  ## What next?
    77  
    78  Continue with the [User Guide](/userguide/).
    79