From 8fd397a50c4848e89fcb961c1decb641d0c4ad05 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Mon, 25 Nov 2013 22:14:33 -0500 Subject: [PATCH] Updated Fedora docs * Added Fedora installation instructions Upstream-commit: 45567f2209d3450142ae8042f674269902d58e3b Component: engine --- .../docs/sources/installation/fedora.rst | 41 +++++++++++++++++-- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/components/engine/docs/sources/installation/fedora.rst b/components/engine/docs/sources/installation/fedora.rst index 46908f0139..88b1037bfb 100644 --- a/components/engine/docs/sources/installation/fedora.rst +++ b/components/engine/docs/sources/installation/fedora.rst @@ -11,9 +11,42 @@ Fedora .. include:: install_unofficial.inc -.. warning:: +Docker is available in **Fedora 19 and later**. Please note that due to the +current Docker limitations Docker is able to run only on the **64 bit** +architecture. - This is a placeholder for the Fedora installation instructions. Currently there is not an available - Docker package in the Fedora distribution. These packages are being built and should be available soon. - These instructions will be updated when the package is available. +Installation +------------ + +Firstly, let's make sure our Fedora host is up-to-date. + +.. code-block:: bash + + sudo yum -y upgrade + +Next let's install the ``docker-io`` package which will install Docker on our host. + +.. code-block:: bash + + sudo yum -y install docker-io + +Now it's installed lets start the Docker daemon. + +.. code-block:: bash + + sudo systemctl start docker + +If we want Docker to start at boot we should also: + +.. code-block:: bash + + sudo systemctl enable docker + +Now let's verify that Docker is working. + +.. code-block:: bash + + sudo docker run -i -t ubuntu /bin/bash + +**Done!**, now continue with the :ref:`hello_world` example.