:title: Command Line Interface
:description: Docker's CLI command description and usage
:keywords: Docker, Docker documentation, CLI, command line

.. _cli:

Overview
======================

Docker Usage
~~~~~~~~~~~~

To list available commands, either run ``docker`` with no parameters or execute
``docker help``::

  $ docker
    Usage: docker [OPTIONS] COMMAND [arg...]
      -H=[tcp://127.0.0.1:4243]: tcp://host:port to bind/connect to or unix://path/to/socket to use

    A self-sufficient runtime for linux containers.

    ...

Available Commands
~~~~~~~~~~~~~~~~~~

.. toctree::
   :maxdepth: 2

   command/attach
   command/build
   command/commit
   command/diff
   command/export
   command/history
   command/images
   command/import
   command/info
   command/inspect
   command/kill
   command/login
   command/logs
   command/port
   command/ps
   command/pull
   command/push
   command/restart
   command/rm
   command/rmi
   command/run
   command/search
   command/start
   command/stop
   command/tag
   command/top
   command/version
   command/wait
