bcicen/ctop

Exec shell closes with multiple lines of output

Opened this issue · 1 comments

If I run docker run -it mariadb:11.5.2 /bin/sh and then enter mariadb-binlog --help I get 264 lines of output.

But if I run ctop-0.7.7-linux-amd64 and execute a shell on the container and enter mariadb-binlog --help the shell exits.

Here's something you can try: open an exec shell and repeat this command (it should eventually kill the shell) printf '0123456789abcdef%.0s' {1..254}

I have built a docker image and am not able to exec it from ctop, it'll be helpful to have debug log around this , i am able to exec with docker exec however, so it has to do something with the exec command ctop is trying to run, having debug log will help us figure what to adjust in our containers