Improve how mapdir works (proposal) #4182
Labels
📦 lib-cli
About wasmer-cli
📦 lib-wasi
About wasmer-wasi
priority-low
Low priority issue
🏚 stale
Inactive issues or PR
Milestone
Currently, mapping into
.
in the host is problematic, because... what is.
: is it/
or is it other dir?My thoughts on how to resolve this, to minimize collisions with root:
/home
as the current working directory by default.
will be mounted on/home
. For example:wasmer run myprogram --dir=.
would be equivalent towasmer run myprogram --mapdir=.:.
which will be equivalent towasmer run --mapdir=.:/home
That will resolve multiple issues that we have in the filesystem, like mounting
.
in/
and many moreThe text was updated successfully, but these errors were encountered: