1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Add daemon docs with selecting graph driver

This commit is contained in:
Michael Crosby 2013-11-22 14:46:07 -08:00
parent e69bbd239e
commit d8f4b733f2
2 changed files with 33 additions and 1 deletions

View file

@ -9,7 +9,7 @@ run apt-get install -y python-setuptools make
run easy_install pip run easy_install pip
#from docs/requirements.txt, but here to increase cacheability #from docs/requirements.txt, but here to increase cacheability
run pip install Sphinx==1.1.3 run pip install Sphinx==1.1.3
run pip install sphinxcontrib-httpdomain==1.1.8 run pip install sphinxcontrib-httpdomain==1.1.9
add . /docs add . /docs
run cd /docs; make docs run cd /docs; make docs

View file

@ -18,6 +18,38 @@ To list available commands, either run ``docker`` with no parameters or execute
... ...
.. _cli_daemon:
``daemon``
----------
::
Usage of docker:
-D=false: Enable debug mode
-H=[unix:///var/run/docker.sock]: Multiple tcp://host:port or unix://path/to/socket to bind in daemon mode, single connection otherwise
-api-enable-cors=false: Enable CORS headers in the remote API
-b="": Attach containers to a pre-existing network bridge; use 'none' to disable container networking
-d=false: Enable daemon mode
-dns="": Force docker to use specific DNS servers
-g="/var/lib/docker": Path to use as the root of the docker runtime
-icc=true: Enable inter-container communication
-ip="0.0.0.0": Default IP address to use when binding container ports
-iptables=true: Disable docker's addition of iptables rules
-p="/var/run/docker.pid": Path to use for daemon PID file
-r=true: Restart previously running containers
-s="": Force the docker runtime to use a specific storage driver
-v=false: Print version information and quit
The docker daemon is the persistent process that manages containers. Docker uses the same binary for both the
daemon and client. To run the daemon you provide the ``-d`` flag.
To force docker to use devicemapper as the storage driver, use ``docker -d -s devicemapper``
To set the dns server for all docker containers, use ``docker -d -dns 8.8.8.8``
To run the daemon with debug output, use ``docker -d -D``
.. _cli_attach: .. _cli_attach:
``attach`` ``attach``