Browse Source

Updated Fedora docs

* Added Fedora installation instructions
James Turnbull 11 năm trước cách đây
mục cha
commit
45567f2209
1 tập tin đã thay đổi với 37 bổ sung4 xóa
  1. 37 4
      docs/sources/installation/fedora.rst

+ 37 - 4
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.