1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

docs: simplify basic usage doc, step 1: check your docker install

docker-DCO-1.1-Signed-off-by: Solomon Hykes <solomon@docker.com> (github: shykes)
This commit is contained in:
Solomon Hykes 2014-01-21 01:48:48 +00:00
parent 90b52b7e06
commit cf17816083

View file

@ -6,21 +6,22 @@
Learn Basic Commands
====================
Starting Docker
---------------
Check your docker install
-------------------------
If you have used one of the quick install paths, Docker may have been
installed with upstart, Ubuntu's system for starting processes at boot
time. You should be able to run ``sudo docker help`` and get output.
If you get ``docker: command not found`` or something like
``/var/lib/docker/repositories: permission denied`` you will need to
specify the path to it and manually start it.
This guide assumes you have a working installation of Docker. To check
your docker install, run the following command:
.. code-block:: bash
# Run docker in daemon mode
sudo <path to>/docker -d &
# Check that you have a working install
docker info
If you get ``docker: command not found`` or something like
``/var/lib/docker/repositories: permission denied`` you have an incomplete
docker installation. Please refer to :ref:`installation_list` for installation
instructions.
Download a pre-built image
--------------------------