You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a simple command like: hap run -- docker exec -it container_name /bin/bash -c 'echo hello'
results in an immediate failure.
and
"unable to setup input stream: unable to set IO streams as raw terminal: input/output error"
The text was updated successfully, but these errors were encountered:
vladtepesch
changed the title
got broken streams if trying to run commands in docker container
Error: unable to setup input stream if trying to run commands in docker container
Jun 2, 2023
@vladtepesch you can run commands without allocating pseudo-tty as a workaround for now
hap run -- docker run -i busybox /bin/sh -c 'echo hello'# and non-interactive mode works too
hap run -- docker run busybox /bin/sh -c 'echo world'
hap logs 1
# hello
hap logs 2
# world
a simple command like:
hap run -- docker exec -it container_name /bin/bash -c 'echo hello'
results in an immediate failure.
and
"unable to setup input stream: unable to set IO streams as raw terminal: input/output error"
I think this SO answer may help: https://stackoverflow.com/a/59508881/2331592
The text was updated successfully, but these errors were encountered: