From cf1781608326e9e3ce090383259bbc26d43c49d6 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 21 Jan 2014 01:48:48 +0000 Subject: [PATCH] docs: simplify basic usage doc, step 1: check your docker install docker-DCO-1.1-Signed-off-by: Solomon Hykes (github: shykes) --- docs/sources/use/basics.rst | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/sources/use/basics.rst b/docs/sources/use/basics.rst index 7d3d8e42af..6ad3851309 100644 --- a/docs/sources/use/basics.rst +++ b/docs/sources/use/basics.rst @@ -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 /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 --------------------------