Closed joelchen closed 2 years ago
This works: docker run -it train
This does not work: docker run train
How do I make TTY not necessary for it to work?
You can use the --no-progress
flag.
@nitsky Used --no-progress
on the server and got the following:
errorerror: No such device or address (os error 6)
: No such device or address (os error 6)
error: Broken pipe (os error 32)
That is why I am trying to reproduce on local and fix it.
Resorted to not using Command by copying chunks of tangram-cli into application, and set progress: false
in TrainArgs to prevent tortoise::terminal::Terminal from running.
Thanks for finding this issue, I am reopening to track a proper fix.
@joelchen thanks again for spotting this issue, I just committed 818b3c9 to no longer propagate errors if a tty is not found.
When I tried to run tangram cli through Rust's Command from Docker container, there will be the following error:
Sample project: https://github.com/joelchen/train