mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-29 21:42:39 +00:00
define driverdir in host setting
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
0bc109ae3b
commit
2c40ed9554
@ -15,6 +15,7 @@ start() {
|
|||||||
# busybox reopens its log files every second
|
# busybox reopens its log files every second
|
||||||
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
|
||||||
then
|
then
|
||||||
|
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
|
||||||
mount --bind "${DRIVERDIR}/log" /var/log
|
mount --bind "${DRIVERDIR}/log" /var/log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user