Always getting "invalid mount config" trying to run on a Mac

what I’m doing wrong?

docker run -d --restart unless-stopped --stop-timeout 300 \
    -p 28967:28967 \
    -e PUID=501 \
    -e PGID=20 \
    -p \
    -e WALLET="0xMYWALLET" \
    -e EMAIL="" \
    -e ADDRESS="" \
    -e STORAGE="1TB" \
    --mount type=bind,source="/Users/myusername/Library/Application\ Support/Storj/Identity/storagenode",destination=/app/identity \
    --mount type=bind,source="/Volumes/4TB\ 2018\ II/__storj",destination=/app/config \
    --name storagenode storjlabs/storagenode:beta

After that I always get this error:

docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /Users/myusername/Library/Application\ Support/Storj/Identity/storagenode.

See 'docker run --help'.

Can anyone help me out? thanks!

Welcome to the forum @plmiranda!

Where did you pick this command format from ?

If you’re sure that’s the correct path, try the following. Keep using quotes, but don’t include the \ in Application Support. So try this for both mounts:

--mount type=bind,source="/Users/myusername/Library/Application Support/Storj/Identity/storagenode",destination=/app/identity \
--mount type=bind,source="/Volumes/4TB 2018 II/__storj",destination=/app/config \

Yes! taking the \ out made the trick! its working now :wink: thanks

from another user here on the forum running mac, i was trying everything to see how could i make it work

Refer documentation to double check