Browse Source

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)
Solomon Hykes 11 năm trước cách đây
mục cha
commit
cf17816083
1 tập tin đã thay đổi với 12 bổ sung11 xóa
  1. 12 11
      docs/sources/use/basics.rst

+ 12 - 11
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 <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
 --------------------------