wasi-cli icon indicating copy to clipboard operation
wasi-cli copied to clipboard

clarify expectations around the workdir concept

Open codefromthecrypt opened this issue 1 year ago • 2 comments

It is increasingly the case that people are conflating WASI with docker, likely due to the increase of tool integrations lately. Folks using docker are used to WORKDIR instructions and CLI overrides such as -workdir.

It isn't clear (to me) why the initial directory cannot be passed to a WASI command, similar to how we are able to pass ENV variables. We should at least document if the next WASI will continue to defer this to wasi-libc with an initial workdir (CWD) of "/", or understand what if any change is likely to occur.

codefromthecrypt avatar Mar 13 '23 05:03 codefromthecrypt