rhel.rst 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. :title: Requirements and Installation on Red Hat Enterprise Linux / CentOS
  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 / CentOS
  6. =================================
  7. .. include:: install_header.inc
  8. .. include:: install_unofficial.inc
  9. Docker is available for **RHEL/CentOS 6**.
  10. 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.
  11. Please note that due to the current Docker limitations Docker is able to run only on the **64 bit** architecture.
  12. Installation
  13. ------------
  14. 1. Firstly, let's make sure our RHEL host is up-to-date.
  15. .. code-block:: bash
  16. sudo yum -y upgrade
  17. 2. Next you need to install the EPEL repository. Please follow the `EPEL installation instructions`_.
  18. 3. Next let's install the ``docker-io`` package which will install Docker on our host.
  19. .. code-block:: bash
  20. sudo yum -y install docker-io
  21. 4. Now it's installed lets start the Docker daemon.
  22. .. code-block:: bash
  23. sudo service docker start
  24. If we want Docker to start at boot we should also:
  25. .. code-block:: bash
  26. sudo chkconfig docker on
  27. 5. Now let's verify that Docker is working.
  28. .. code-block:: bash
  29. sudo docker run -i -t ubuntu /bin/bash
  30. **Done!**, now continue with the :ref:`hello_world` example.
  31. Issues?
  32. -------
  33. If you have any issues - please report them directly in the `Red Hat Bugzilla for docker-io component`_.
  34. .. _Extra Packages for Enterprise Linux (EPEL): https://fedoraproject.org/wiki/EPEL
  35. .. _EPEL installation instructions: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
  36. .. _Red Hat Bugzilla for docker-io component : https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora%20EPEL&component=docker-io