-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose a tty to the runtime #146
Comments
Looks like via the WASI preview 1 layer it wouldn't really be possible today: WebAssembly/WASI#42 What's doable today would be forwarding over telnet / ssh etc: WebAssembly/WASI#161 (comment) But with WASI preview 2, component model, and wasi-cli there may be early proposals to enable pseudoterminal manipulation: WebAssembly/WASI#161 (comment) |
@rajsite Tty is available for the applications running in the container. Maybe you need to switch the your terminal to raw mode to get the raw acccess to it (e.g. |
Reason I was thinking a tty isn't available was when running:
I get the following error:
I get the above error when I forget to pass So that's where the original phrasing of the question came from. It's assuming there is something else that the |
@rajsite It seems to lack |
Is there a way to get the equivalent behavior of
docker run -it
, for example if I wanted to run the docker/doodle containers: https://hub.docker.com/r/docker/doodle/tagsThe text was updated successfully, but these errors were encountered: