rhel.rst 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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
  11. other binary compatible EL6 version as well, but they haven't been tested.
  12. Please note that this package is part of a `Extra Packages for Enterprise Linux (EPEL)`_, a community effort to create and maintain additional packages for RHEL distribution.
  13. Please note that due to the current Docker limitations Docker is able to run only on the **64 bit** architecture.
  14. Installation
  15. ------------
  16. 1. First, you need to install the EPEL repository. Please follow the `EPEL installation instructions`_.
  17. 2. Next let's install the ``docker-io`` package which will install Docker on our host.
  18. .. code-block:: bash
  19. sudo yum -y install docker-io
  20. 3. Now it's installed lets start the Docker daemon.
  21. .. code-block:: bash
  22. sudo service docker start
  23. If we want Docker to start at boot we should also:
  24. .. code-block:: bash
  25. sudo chkconfig docker on
  26. 4. Now let's verify that Docker is working.
  27. .. code-block:: bash
  28. sudo docker run -i -t mattdm/fedora /bin/bash
  29. **Done!**, now continue with the :ref:`hello_world` example.
  30. Issues?
  31. -------
  32. If you have any issues - please report them directly in the `Red Hat Bugzilla for docker-io component`_.
  33. .. _Extra Packages for Enterprise Linux (EPEL): https://fedoraproject.org/wiki/EPEL
  34. .. _EPEL installation instructions: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
  35. .. _Red Hat Bugzilla for docker-io component : https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL&component=docker-io