https://rancher.com/ logo
Title
g

great-evening-84612

11/17/2022, 12:15 PM
Hi everyone. I have a question about nerdctl volume on macOS with Lima. I create a volume nerdctl volume create test-volume nerdctl volume ls test-volume /var/lib/nerdctl/..../_data I think the volume is create on the limaVM. How can i access to this volume to copy some file? I can’t use nerdctl cp because my container is not always alive.
c

curved-zebra-30454

11/17/2022, 5:47 PM
You might need to create a mount point in a Lima override to access your volume. Do you want to take a look at this approach to see if this helps? https://github.com/rancher-sandbox/rancher-desktop/issues/3160#issuecomment-1279239115
g

great-evening-84612

11/18/2022, 9:00 AM
Thx for the response. But it’s not working for volume
\\"mkdir: can't create directory '/var/lib/nerdctl/dbb19c5e/': Permission denied\\\\n\\": exit status 1\\n\\n] SSHLocalPort:50454}"\n`,