rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 655 forks source link

Bind-Mounts in swarm messes with permissions... #2961

Open bf8392 opened 4 years ago

bf8392 commented 4 years ago

Hi...I'm sorry I don't know if this is a swarm issue, or a rancheros issue, but when I bind mount a volume into a docker container, the permissions get completly messed up....one shows 999:root, the other one xfs:xfs (both inside the container, outside it seems to work somehow)...I dont't know if I'm doing something wrong...please help!

bf8392 commented 4 years ago

switching to persistent-console seems to resolve the issue..., but another occurs....when I bind-mount a volume, the image doesn't seem to have access to the binded volume, even if uid and gid are right...