2013-03-25 22:52:52 -04:00
|
|
|
:title: Command Line Interface
|
|
|
|
:description: Docker's CLI command description and usage
|
|
|
|
:keywords: Docker, Docker documentation, CLI, command line
|
|
|
|
|
2013-04-01 22:11:09 -04:00
|
|
|
.. _cli:
|
2013-03-25 22:52:52 -04:00
|
|
|
|
2013-05-09 20:05:20 -04:00
|
|
|
Overview
|
2013-03-25 22:52:52 -04:00
|
|
|
======================
|
|
|
|
|
|
|
|
Docker Usage
|
2013-09-24 22:47:25 -04:00
|
|
|
~~~~~~~~~~~~~~~~~~
|
2013-03-25 22:52:52 -04:00
|
|
|
|
2013-04-01 21:52:44 -04:00
|
|
|
To list available commands, either run ``docker`` with no parameters or execute
|
|
|
|
``docker help``::
|
2013-03-25 22:52:52 -04:00
|
|
|
|
2013-08-13 21:05:35 -04:00
|
|
|
$ sudo docker
|
2013-05-22 12:15:52 -04:00
|
|
|
Usage: docker [OPTIONS] COMMAND [arg...]
|
2013-08-18 00:54:10 -04:00
|
|
|
-H=[unix:///var/run/docker.sock]: tcp://host:port to bind/connect to or unix://path/to/socket to use
|
2013-03-25 22:52:52 -04:00
|
|
|
|
|
|
|
A self-sufficient runtime for linux containers.
|
|
|
|
|
2013-04-01 21:52:44 -04:00
|
|
|
...
|
|
|
|
|
2013-09-24 22:47:25 -04:00
|
|
|
|
|
|
|
|
2013-04-01 21:52:44 -04:00
|
|
|
Available Commands
|
|
|
|
~~~~~~~~~~~~~~~~~~
|
|
|
|
|
2013-09-24 22:47:25 -04: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
|
|
|
|
|
|
|
|
|