dind: add DOCKER_ROOT env var

This commit is contained in:
Kostas Lekkas 2016-06-21 20:01:31 +03:00
parent 548c9ff12b
commit 858e127ed0

View File

@ -34,6 +34,7 @@ ExecStart=/bin/bash -c 'source /usr/src/app/resin-vars && \
-e "SUPERVISOR_IMAGE=${SUPERVISOR_IMAGE}" \ -e "SUPERVISOR_IMAGE=${SUPERVISOR_IMAGE}" \
-e "DBUS_SYSTEM_BUS_ADDRESS=unix:path=/mnt/root/run/dbus/system_bus_socket" \ -e "DBUS_SYSTEM_BUS_ADDRESS=unix:path=/mnt/root/run/dbus/system_bus_socket" \
-e "RESIN_SUPERVISOR_SECRET=${RESIN_SUPERVISOR_SECRET}" \ -e "RESIN_SUPERVISOR_SECRET=${RESIN_SUPERVISOR_SECRET}" \
-e "DOCKER_ROOT=/mnt/root/var/lib/docker" \
${SUPERVISOR_IMAGE}' ${SUPERVISOR_IMAGE}'
TimeoutStartSec=0 TimeoutStartSec=0
Restart=always Restart=always