Remove /Mac in docker init and transfused init

Replace /Mac with /host_docker_app and replace driverDir with just driver.

Signed-off-by: David Sheets <dsheets@docker.com>
This commit is contained in:
David Sheets 2016-07-08 14:36:26 -07:00
parent 15e34f9717
commit 8473eb56f2
2 changed files with 3 additions and 3 deletions

View File

@ -44,9 +44,9 @@ start()
# shift logs onto host before docker starts
# busybox reopens its log files every second
if cat /proc/cmdline | grep -q 'com.docker.driverDir'
if cat /proc/cmdline | grep -q 'com.docker.driver'
then
DRIVERDIR="/Mac$(cat /proc/cmdline | sed -e 's/.*com.docker.driverDir="//' -e 's/".*//')"
DRIVERDIR="/host_docker_app/$(cat /proc/cmdline | sed -e 's/.*com.docker.driver="//' -e 's/".*//')"
if ! grep -q "osxfs on /var/log" /proc/mounts ; then
mkdir -p /run/log
mount -o bind /var/log /run/log

View File

@ -6,7 +6,7 @@ start()
{
ebegin "Starting FUSE socket passthrough"
mkdir -p /Mac
mkdir -p /host_docker_app
find /tmp -mindepth 1 -delete
PIDFILE=/var/run/transfused.pid