fix: Docker for macOS

This commit is contained in:
Ahmad Ansori Palembani 2023-07-24 11:49:46 +07:00
parent c35a397fab
commit 2714811cc3
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6

View file

@ -39,7 +39,11 @@ export GLFW_IM_MODULE="ibus"
export XMODIFIERS=@im="ibus"
# -- rootless docker
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
if [[ "$OSTYPE" == "darwin"* ]]; then
export DOCKER_HOST=unix:///var/run/docker.sock
elif [[ "$OSTYPE" == "linux-gnu" ]]; then
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock
fi
# -- DEFAULT
export QT_QPA_PLATFORMTHEME="qt5ct"