mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
87fb2c973d
This adds the ability to socket activate docker by passing in `-H fd://*` along with examples systemd configuration files. The fastest way to test this is to run: ``` /usr/lib/systemd/systemd-activate -l 127.0.0.1:2001 /usr/bin/docker -d -H 'fd://*' docker -H tcp://127.0.0.1:2001 ps ``` Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
8 lines
124 B
SYSTEMD
8 lines
124 B
SYSTEMD
[Unit]
|
|
Description=Docker Socket for the API
|
|
|
|
[Socket]
|
|
ListenStream=/var/run/docker.sock
|
|
|
|
[Install]
|
|
WantedBy=sockets.target
|