Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exec shell closes with multiple lines of output #354

Open
delanym opened this issue Aug 29, 2024 · 1 comment
Open

Exec shell closes with multiple lines of output #354

delanym opened this issue Aug 29, 2024 · 1 comment

Comments

@delanym
Copy link

delanym commented Aug 29, 2024

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}

@geekodour
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants