lima icon indicating copy to clipboard operation
lima copied to clipboard

Instructions for mounting Linux guest directories so they are read-writable by the host

Open emchristiansen opened this issue 3 years ago • 1 comments

Description

Please provide instructions (or config options) for mounting Linux guest directories so they are read-writable by the host.

For example, I'd like to read-only mount my Linux guest root directory / at /Users/user/.lima/default/root or read-write mount my Linux guest home directory /home/user at /Users/user/.lima/home.

I'm guessing this is standard container-foo, but for those of us new to containers it would be helpful to have it in the README or default config.

Thanks!

emchristiansen avatar May 10 '22 19:05 emchristiansen

If you have a SFTP client on your host, you can use limactl show-ssh --format=config to show the configuration for it.

Here is one: https://filezilla-project.org/

afbjorklund avatar May 11 '22 06:05 afbjorklund