2013-03-25 19:52:52 -07:00
|
|
|
:title: Command Line Interface
|
|
|
|
:description: Docker's CLI command description and usage
|
|
|
|
:keywords: Docker, Docker documentation, CLI, command line
|
|
|
|
|
2013-04-01 19:11:09 -07:00
|
|
|
.. _cli:
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-05-09 17:05:20 -07:00
|
|
|
Overview
|
2013-03-25 19:52:52 -07:00
|
|
|
======================
|
|
|
|
|
|
|
|
Docker Usage
|
2013-09-24 19:47:25 -07:00
|
|
|
~~~~~~~~~~~~~~~~~~
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-04-02 04:52:44 +03:00
|
|
|
To list available commands, either run ``docker`` with no parameters or execute
|
|
|
|
``docker help``::
|
2013-03-25 19:52:52 -07:00
|
|
|
|
2013-08-13 18:05:35 -07:00
|
|
|
$ sudo docker
|
2013-05-22 16:15:52 +00:00
|
|
|
Usage: docker [OPTIONS] COMMAND [arg...]
|
2013-08-17 21:54:10 -07:00
|
|
|
-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use
|
2013-03-25 19:52:52 -07:00
|
|
|
|
|
|
|
A self-sufficient runtime for linux containers.
|
|
|
|
|
2013-04-02 04:52:44 +03:00
|
|
|
...
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
|
|
|
|
|
2013-04-02 04:52:44 +03:00
|
|
|
Available Commands
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2013-09-24 19:47:25 -07:00
|
|
|
.. include:: command/attach.rst
|
|
|
|
|
|
|
|
.. include:: command/build.rst
|
|
|
|
|
|
|
|
.. include:: command/commit.rst
|
|
|
|
|
|
|
|
.. include:: command/cp.rst
|
|
|
|
|
|
|
|
.. include:: command/diff.rst
|
|
|
|
|
|
|
|
.. include:: command/events.rst
|
|
|
|
|
|
|
|
.. include:: command/export.rst
|
|
|
|
|
|
|
|
.. include:: command/history.rst
|
|
|
|
|
|
|
|
.. include:: command/images.rst
|
|
|
|
|
|
|
|
.. include:: command/import.rst
|
|
|
|
|
|
|
|
.. include:: command/info.rst
|
|
|
|
|
|
|
|
.. include:: command/insert.rst
|
|
|
|
|
|
|
|
.. include:: command/inspect.rst
|
|
|
|
|
|
|
|
.. include:: command/kill.rst
|
|
|
|
|
|
|
|
.. include:: command/login.rst
|
|
|
|
|
|
|
|
.. include:: command/logs.rst
|
|
|
|
|
|
|
|
.. include:: command/port.rst
|
|
|
|
|
|
|
|
.. include:: command/ps.rst
|
|
|
|
|
|
|
|
.. include:: command/pull.rst
|
|
|
|
|
|
|
|
.. include:: command/push.rst
|
|
|
|
|
|
|
|
.. include:: command/restart.rst
|
|
|
|
|
|
|
|
.. include:: command/rm.rst
|
|
|
|
|
|
|
|
.. include:: command/rmi.rst
|
|
|
|
|
|
|
|
.. include:: command/run.rst
|
|
|
|
|
|
|
|
.. include:: command/search.rst
|
|
|
|
|
|
|
|
.. include:: command/start.rst
|
|
|
|
|
|
|
|
.. include:: command/stop.rst
|
|
|
|
|
|
|
|
.. include:: command/tag.rst
|
|
|
|
|
|
|
|
.. include:: command/top.rst
|
|
|
|
|
|
|
|
.. include:: command/version.rst
|
|
|
|
|
|
|
|
.. include:: command/wait.rst
|
|
|
|
|
|
|
|
|