Merge pull request #258 from dsheets/remove-slash-Mac

Remove /Mac in docker init and transfused init
This commit is contained in:
Justin Cormack 2016-07-11 12:29:06 +01:00 committed by GitHub
commit 8a84cab8c2
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