mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #3071 from lsm5/fedora-docs-update
use mattdm/fedora in fedora doc and other cosmetic changes
This commit is contained in:
commit
d75fc6e529
1 changed files with 11 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
||||||
:title: Requirements and Installation on Fedora
|
:title: Requirements and Installation on Fedora
|
||||||
:description: Please note this project is currently under heavy development. It should not be used in production.
|
:description: Please note this project is currently under heavy development. It should not be used in production.
|
||||||
:keywords: Docker, Docker documentation, requirements, virtualbox, vagrant, git, ssh, putty, cygwin, linux
|
:keywords: Docker, Docker documentation, fedora, requirements, virtualbox, vagrant, git, ssh, putty, cygwin, linux
|
||||||
|
|
||||||
.. _fedora:
|
.. _fedora:
|
||||||
|
|
||||||
|
@ -18,25 +18,25 @@ architecture.
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Firstly, let's make sure our Fedora host is up-to-date.
|
Install the ``docker-io`` package which will install Docker on our host.
|
||||||
|
|
||||||
.. 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
|
.. code-block:: bash
|
||||||
|
|
||||||
sudo yum -y install docker-io
|
sudo yum -y install docker-io
|
||||||
|
|
||||||
Now it's installed lets start the Docker daemon.
|
To update the ``docker-io`` package
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
sudo yum -y update docker-io
|
||||||
|
|
||||||
|
Now that it's installed, let's start the Docker daemon.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
sudo systemctl start docker
|
sudo systemctl start docker
|
||||||
|
|
||||||
If we want Docker to start at boot we should also:
|
If we want Docker to start at boot, we should also:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ Now let's verify that Docker is working.
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
sudo docker run -i -t ubuntu /bin/bash
|
sudo docker run -i -t mattdm/fedora /bin/bash
|
||||||
|
|
||||||
**Done!**, now continue with the :ref:`hello_world` example.
|
**Done!**, now continue with the :ref:`hello_world` example.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue