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:
parent
90b52b7e06
commit
cf17816083
1 changed files with 12 additions and 11 deletions
|
@ -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
|
||||
--------------------------
|
||||
|
|
Loading…
Add table
Reference in a new issue