https://rancher.com/ logo
Title
m

microscopic-megabyte-8477

10/26/2022, 4:16 PM
Hi everyone.. I’ve got a question about rancher on mac. I just installed it as a replacement for the docker engine on my mac and I’m having issues with it not finding local folders for
bind
mounts
example
VFumo000@RESML-1719017 terraform % ls /Users/vfumo000/repo/otsdata/terraform/terraform
environments  modules
VFumo000@RESML-1719017 terraform % docker run -it --name terraform --rm \          
--mount type=bind,source="$(pwd)"/terraform,target="/terraform" \
-v `pwd`/private/.vaultpass:/terraform/.vaultpass \
tf
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /Users/vfumo000/repo/otsdata/terraform/terraform.
See 'docker run --help'.
is this some weird mac security setting I need to change?
c

calm-sugar-3169

10/26/2022, 4:51 PM
Hi Vincent, did you remove the old docker engine installation?
or at least stopped it?
m

microscopic-megabyte-8477

10/26/2022, 4:59 PM
yes. I think my issue in the above was that I was running in a dir that had some capitalization issues.. but apparently I can’t mount outside my $HOME dir?
j

jolly-forest-99711

10/27/2022, 4:20 PM
IIRC you can't mount outside
$HOME
. Does this issue match what you want: https://github.com/rancher-sandbox/rancher-desktop/issues/3160