Docker: Error response from daemon: Mounts denied:

Hi, I’m encountering a persistent “Mounts denied” error when trying to run the Aztec sandbox using the aztec start --sandbox command, and I’m a bit stumped. I’ve tried several common Docker file sharing fixes, but the issue seems to stem from how Aztec is constructing the Docker command.

The Error I’m Getting:

docker: Error response from daemon: Mounts denied: The path /socket_mnt/tmp/ssh-2DxQ5yZJEGV8/agent.2165 is not shared from the host and is not known to Docker.
You can configure shared paths from Docker → Preferences… → Resources → File Sharing.

Can anyone help?

What version of aztec do you have installed? What operating system are you using?

can you try

unset SSH_AUTH_SOCK
aztec start --sandbox

I am using a linux computer (ubuntu 24.04). Aztec version is 0.87.4. Just tried your suggestion
and got the following message

docker: Error response from daemon: Ports are not available: exposing port TCP 0.0.0.0:8080 -> 127.0.0.1:0: listen tcp 0.0.0.0:8080: bind: address already in use

We’ve had a few updates recently, so if you run aztec-up you will get the latest version (0.87.7 at the time of writing)

This implies that you already have something running that is using this port.

Everything appears to be working now. Thanks