user-cont / conu

conu - python API for your containers
http://conu.readthedocs.io/en/latest/
MIT License
164 stars 33 forks source link

Reading stdout when interacting with a container via run_via_binary_in_foreground #389

Open palmleon opened 2 years ago

palmleon commented 2 years ago

As the title says, it seems that there is no way to look at the output coming from a container when launching it in foreground. I would like to feed some input via stdin and then observe the output (or read it for checking sth), but I have no idea about how to do it, it seems it is not reported in the documentation. Any help would be greatly appreciated