From 950db8eded498a625db80846ff7085dccc77de15 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Wed, 14 Aug 2024 15:21:07 -0300 Subject: [PATCH] fix: Do not mount ssh agent on OSX (#7991) Fixes the error: ``` docker: Error response from daemon: error while creating mount source path '/host_mnt/private/tmp/com.apple.launchd.fgyb18bWUX/Listeners': mkdir /host_mnt/private/tmp/com.apple.launchd.fgyb18bWUX/Listeners: operation not supported. ``` --- aztec-up/bin/.aztec-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aztec-up/bin/.aztec-run b/aztec-up/bin/.aztec-run index 0bbd9c561a5..cb2d86fdfbf 100755 --- a/aztec-up/bin/.aztec-run +++ b/aztec-up/bin/.aztec-run @@ -120,7 +120,7 @@ if [[ -z "${SKIP_PORT_ASSIGNMENT:-}" ]]; then fi ssh_agent_forwarding="" -if [ -n "${SSH_AUTH_SOCK:-}" ]; then +if [ -n "${SSH_AUTH_SOCK:-}" ] && [ "$(uname)" != "Darwin" ]; then ssh_agent_forwarding="-v $(realpath $SSH_AUTH_SOCK):$SSH_AUTH_SOCK" fi