mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Merge pull request #158 from justincormack/driverdir
define driverdir in host setting
This commit is contained in:
commit
d14b248205
@ -15,6 +15,7 @@ start() {
|
||||
# busybox reopens its log files every second
|
||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||
then
|
||||
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
||||
mount --bind "${DRIVERDIR}/log" /var/log
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user