mirror of
https://github.com/docker/cli.git
synced 2026-01-23 15:21:32 +03:00
docs: improve the socket activation cli docs
as suggested by SvenDowideit expand the docs to have more information on
socket activation.
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
Upstream-commit: 8922f0314a
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
1382a0f40b
commit
87597d03a6
@@ -63,7 +63,10 @@ the ``-H`` flag for the client.
|
||||
# both are equal
|
||||
|
||||
|
||||
To run the daemon with socket activation, use ``docker -d -H fd://*``. Individual sockets can also be specified ``docker -d -H fd://3``.
|
||||
To run the daemon with `socket activation <http://0pointer.de/blog/projects/socket-activation.html>`, use ``docker -d -H fd://*``.
|
||||
Using ``fd://*`` will work perfectly for most setups but you can also specify individual sockets too ``docker -d -H fd://3``.
|
||||
If the specified socket activated files aren't found then docker will exit.
|
||||
You can find examples of using socket activation with docker and systemd in the `docker source tree <https://github.com/dotcloud/docker/blob/master/contrib/init/systemd/socket-activation/>`.
|
||||
|
||||
.. _cli_attach:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user