зеркало из https://github.com/microsoft/docker.git
Updated Fedora docs
* Added Fedora installation instructions
This commit is contained in:
Родитель
3ed0ff85f5
Коммит
45567f2209
|
@ -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.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче