It should check the current directly and go up each time similar to.asdf or .rbenv, looking for a .virtconfig dir
Depending on the config, I want:
1: it running a foreground instance, soo I don’t need ssh, and I know that it will shut down when I end the shell
2: I want to configure my shares/mounts, which by default don’t go up from the .virtconfig dir
3: I have to think about read only instances and multiple instances of the vm
The idea is that when you later cd into a project directory, .direnv (I think) can automatically turn into a Linux shell, or other OS which is also sandboxed.
I’d also want a single command that spans a Linux instance with the current director mounted (r or Re) to Linux. This way you get some sandboxing when trying someone else’s code
In a cli, I want to start “vm”
It should check the current directly and go up each time similar to.asdf or .rbenv, looking for a .virtconfig dir
Depending on the config, I want:
1: it running a foreground instance, soo I don’t need ssh, and I know that it will shut down when I end the shell
2: I want to configure my shares/mounts, which by default don’t go up from the .virtconfig dir
3: I have to think about read only instances and multiple instances of the vm
The idea is that when you later cd into a project directory, .direnv (I think) can automatically turn into a Linux shell, or other OS which is also sandboxed.
I’d also want a single command that spans a Linux instance with the current director mounted (r or Re) to Linux. This way you get some sandboxing when trying someone else’s code