rhel.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. :title: Requirements and Installation on Red Hat Enterprise Linux
  2. :description: Please note this project is currently under heavy development. It should not be used in production.
  3. :keywords: Docker, Docker documentation, requirements, linux, rhel, centos
  4. .. _rhel:
  5. Red Hat Enterprise Linux
  6. ========================
  7. .. include:: install_header.inc
  8. .. include:: install_unofficial.inc
  9. Docker is available for **RHEL** on EPEL. These instructions should work for
  10. both RHEL and CentOS. They will likely work with other binary compatible EL6
  11. distributions as well, but the haven't been tested.
  12. Please note that this package is part of `Extra Packages for Enterprise
  13. Linux (EPEL)`_, a community effort to create and maintain additional packages
  14. for the RHEL distribution.
  15. Please note that due to the current Docker limitations, Docker is able to run
  16. only on the **64 bit** architecture.
  17. Installation
  18. ------------
  19. 1. Firstly, you need to install the EPEL repository. Please follow the `EPEL installation instructions`_.
  20. 2. Next, let's install the ``docker-io`` package which will install Docker on our host.
  21. .. code-block:: bash
  22. sudo yum -y install docker-io
  23. To keep docker up to date:
  24. .. code-block:: bash
  25. sudo yum -y update docker-io
  26. 3. Now that it's installed, lets start the Docker daemon.
  27. .. code-block:: bash
  28. sudo service docker start
  29. If we want Docker to start at boot we should also:
  30. .. code-block:: bash
  31. sudo chkconfig docker on
  32. 4. Now let's verify that Docker is working.
  33. .. code-block:: bash
  34. sudo docker run -i -t mattdm/fedora /bin/bash
  35. **Done!**, now continue with the :ref:`hello_world` example.
  36. Issues?
  37. -------
  38. If you have any issues - please report them directly in the `Red Hat Bugzilla for docker-io component`_.
  39. .. _Extra Packages for Enterprise Linux (EPEL): https://fedoraproject.org/wiki/EPEL
  40. .. _EPEL installation instructions: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
  41. .. _Red Hat Bugzilla for docker-io component : https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL&component=docker-io