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)
11 lines
242 B
Desktop File
11 lines
242 B
Desktop File
[Unit]
|
|
Description=Docker Application Container Engine
|
|
Documentation=http://docs.docker.io
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStartPre=/bin/mount --make-rprivate /
|
|
ExecStart=/usr/bin/docker -d -H fd://*
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|