mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 17:26:28 +00:00
commit
dd0cd8c760
@ -11,8 +11,13 @@ then
|
||||
DATABASE="$(cat /proc/cmdline | sed -e 's/.*com.docker.database="//' -e 's/".*//')"
|
||||
CONFIG_FILE="/Database/branch/master/ro/${DATABASE}/etc/docker/daemon.json"
|
||||
[ -s ${CONFIG_FILE} ] && DOCKER_OPTS="${DOCKER_OPTS} --config-file ${CONFIG_FILE}"
|
||||
else
|
||||
# If there is no database and we run on Hyper-V start daemon
|
||||
# with networking for now. This will change in the future!
|
||||
[ -d /sys/bus/vmbus ] && DOCKER_OPTS="${DOCKER_OPTS} -H tcp://0.0.0.0:2375"
|
||||
fi
|
||||
|
||||
|
||||
command_args="daemon -p \"${pidfile}\" ${DOCKER_OPTS}"
|
||||
|
||||
DOCKER_LOGFILE="/var/log/docker.log}"
|
||||
|
3
alpine/packages/hvtools/.gitignore
vendored
Normal file
3
alpine/packages/hvtools/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
hv_fcopy_daemon
|
||||
hv_kvp_daemon
|
||||
hv_vss_daemon
|
Loading…
Reference in New Issue
Block a user