fedora.rst 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. :title: Requirements and Installation on Fedora
  2. :description: Please note this project is currently under heavy development. It should not be used in production.
  3. :keywords: Docker, Docker documentation, Fedora, requirements, virtualbox, vagrant, git, ssh, putty, cygwin, linux
  4. .. _fedora:
  5. Fedora
  6. ======
  7. .. include:: install_header.inc
  8. .. include:: install_unofficial.inc
  9. Docker is available in **Fedora 19 and later**. Please note that due to the
  10. current Docker limitations Docker is able to run only on the **64 bit**
  11. architecture.
  12. Installation
  13. ------------
  14. The ``docker-io`` package provides Docker on Fedora.
  15. If you have the (unrelated) ``docker`` package installed already, it will
  16. conflict with ``docker-io``. There's a `bug report`_ filed for it.
  17. To proceed with ``docker-io`` installation on Fedora 19, please remove
  18. ``docker`` first.
  19. .. code-block:: bash
  20. sudo yum -y remove docker
  21. For Fedora 20 and later, the ``wmdocker`` package will provide the same
  22. functionality as ``docker`` and will also not conflict with ``docker-io``.
  23. .. code-block:: bash
  24. sudo yum -y install wmdocker
  25. sudo yum -y remove docker
  26. Install the ``docker-io`` package which will install Docker on our host.
  27. .. code-block:: bash
  28. sudo yum -y install docker-io
  29. To update the ``docker-io`` package:
  30. .. code-block:: bash
  31. sudo yum -y update docker-io
  32. Now that it's installed, let's start the Docker daemon.
  33. .. code-block:: bash
  34. sudo systemctl start docker
  35. If we want Docker to start at boot, we should also:
  36. .. code-block:: bash
  37. sudo systemctl enable docker
  38. Now let's verify that Docker is working.
  39. .. code-block:: bash
  40. sudo docker run -i -t fedora /bin/bash
  41. **Done!**, now continue with the :ref:`hello_world` example.
  42. .. _bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1043676