Skip to content
Snippets Groups Projects
Commit 0d0bcab4 authored by jurgenhaas's avatar jurgenhaas
Browse files

Try to use real docker socket on Mac

parent 35a4a835
No related branches found
No related tags found
1 merge request!1Feature/macos
......@@ -17,7 +17,7 @@ case "${L3DHOSTOS}" in
else
# This works on MacOS when coreutils is installed.
SCRIPTPATH="$(dirname "$(greadlink -f "$0")")"
DOCKERSOCKHOST="$(dirname "$(greadlink -f "/var/run/docker.sock")")"
DOCKERSOCKHOST="$(dirname "$(greadlink -f "/var/run/docker.sock")")/docker.sock"
fi
# Write a fake passwd file which will later be mounted into containers.
echo "${USERNAME}:x:${USERID}:${GROUPID}:${USERNAME},,,:/home/${USERNAME}:${L3DSHELL}" >${HOME}/.passwd
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment