This message was deleted.
# rancher-desktop
a
This message was deleted.
f
I don't know; have you tried it? How did you run it, and how did it fail?
e
When I run it it says it runs correctly. The issue is when I make changes from my local machine they dont sync to the container. When I
docker exec
into my container and make changes they correctly sync and the changes are reflect on my local machine, so the syncing is only one way it seems. Any ideas? @fast-garage-66093
f
I don't know; sounds like a config problem. Can you open a Github issue with the exact details that would allow somebody to reproduce the problem?
e
Hey @fast-garage-66093, before I open an issue on Github I would just like to confirm somethings as you most definitely have more knowledge about containers than I do. So after executing
docker volume inspect mycontainer
, I got:
Copy code
[
    {
        "CreatedAt": "2023-12-07T19:09:18Z",
        "Driver": "local",
        "Labels": null,
        "Mountpoint":
        "/var/lib/docker/volumes/mycontainer/_data",
        "Name": "mycontainer",
        "Options": null,
        "Scope": "local"
    }
]
I noticed that /var/lib/docker/volumes/mycontainer/_data is not a valid path on my macbook as no docker folder exists in my lib folder. This path is referring to the filesystem in my rancher vm, which I confirmed after executing rdctl shell and seeing that the volume is actually being mounted inside my rancher vm. My issue is that I would like to mount it from my macbook. The problem I'm having right now is that the changes are technically syncing correctly both ways (when I make changes from rancher vm or my container), but I want it so that when I make changes from my macbook, those changes are synced. Can you provide any suggestions about this?
f
Sorry, I don't think you can mount the volume to the host. But please include it in the issue, so we can look at it eventually. Right now we are all scrambling to finish the 1.12 release for hopefully next week, so can't concentrate on anything else.