https://rancher.com/ logo
b

best-pizza-1353

06/27/2022, 6:07 PM
So I recently switched to Rancher Desktop in the hopes of using it as a drop-in replacement for Docker Desktop for my local dev environment. One issue I just ran across though seems to be permissions on bind mount volumes. Namely, I have the following in my docker compose file:
Copy code
db:
    image: mongo
    restart: always
    volumes:
      - ./data/db:/data/db
and get the following error in the container when trying to run it:
Copy code
chown: changing ownership of '/data/db': Permission denied
v

victorious-dawn-43228

06/28/2022, 9:07 AM
same here, anyone??
i

icy-engine-36723

06/30/2022, 4:31 AM
even i am facing this issue in the latest rancher desktop build (version 1.4.1)..Had to revert to the earlier build of version 1.3.0 which works well
b

best-pizza-1353

06/30/2022, 9:13 PM
After some further digging I believe this is technically the same issue described in this ticket: https://github.com/rancher-sandbox/rancher-desktop/issues/1209
933 Views