adamant-kite-43734
12/07/2023, 3:46 AMfast-garage-66093
12/07/2023, 6:35 AMechoing-application-88911
12/07/2023, 6:08 PMdocker 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-66093fast-garage-66093
12/07/2023, 6:46 PMechoing-application-88911
12/07/2023, 9:31 PMdocker volume inspect mycontainer
, I got:
[
{
"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?fast-garage-66093
12/08/2023, 12:46 AM