ctop
ctop copied to clipboard
Exec shell closes with multiple lines of output
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}