-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
[BUG] Keypresses are swallowed when piping docker compose exec
output to less
#11775
Comments
If you want to pipe docker compose exec -T db find / | less If that doesn't work: docker compose exec -T db find / </dev/null | less The latter looks like a workaround that should not be needed. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still an issue in compose v2.29.7 |
This issue has been automatically marked as not stale anymore due to the recent activity. |
Description
When running commands like
docker compose exec containername mysql... | less
you've got to press keys twice (or more) for them to take effect.Steps To Reproduce
docker compose exec db find / | less
(use any running container name instead of db)Compose Version
Docker Environment
Anything else?
Works fine if I run the same command with just
docker exec
and use an unscoped container name. This is a repost of issue #8428 which has been closed without any comments.The text was updated successfully, but these errors were encountered: