-
Notifications
You must be signed in to change notification settings - Fork 1
Remote execution
Julian Eggers edited this page Feb 28, 2019
·
4 revisions
## Create config file
mkdir -p /etc/systemd/system/docker.service.d/ && \
cat <<EOT >> /etc/systemd/system/docker.service.d/startup_options.conf
[Service]
ExecStart=
ExecStart=/usr/bin/dockerd -H fd:// -H tcp://0.0.0.0:2375
EOT
## Restart docker daemon
systemctl daemon-reload && \
systemctl reload docker.service && \
systemctl restart docker.service
You have to set set DOCKER_HOST-Property. It is recommended to do this via properties-file to keep the code untouched.