Skip to content

Commit

Permalink
fix: Do not mount ssh agent on OSX (#7991)
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
spalladino authored Aug 14, 2024
1 parent 5cda7ba commit 950db8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aztec-up/bin/.aztec-run
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 950db8e

Please sign in to comment.