https://rancher.com/ logo
#random
Title
# random
a

average-alarm-75128

03/13/2023, 11:20 AM
Hi all, I have a problem with file sharing in rancher desktop. I am trying to use a docker-compose file and to execute as we did with docker desktop. It seems that when using Rancher Desktop, file sharing is not working for me. I am trying to mount /var/lib/grafana on my local machine current folder. With docker desktop, I get a local folder "data" created by the docker when it starts, however, with rancher I get this error: "'/var/lib/grafana" is not writable. You may have issues with file permissions, more information here: - grafana docs link" I do not think is a grafana issue, since I have same problems with every docker trying to write into the mounted folder. I am using this line for the mounting.
volumes:
- ./data/grafana:/var/lib/grafana In docker desktop I am using this config for file sharin? Am I missing any configuration in rancher desktop to allow file sharing so I can mount a volume into my local machine?
176 Views