Custom mount of location to a mountPoint #2435
-
I'm very confused on mounts. I'm trying to mount one specific directory to make it available under a specific directory. It gets mounted as expected, but the default shell login changes behaviour: it logins to the same user path like my MacOS host. VM: user in
The above works. But: when I login, it defaults in an non-existing directory |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The You can override this $ limactl shell --workdir /home/madalin.linux default
madalin@lima-default:~$ Or if you use the $ export LIMA_WORKDIR=/home/madalin.linux
$ lima
madalin@lima-default:~$ |
Beta Was this translation helpful? Give feedback.
The
lima shell
command by default opens a shell in the same directory that you are in on the host. This is by design.You can override this
Or if you use the
lima
wrapper: