Uh oh!
There was an error while loading. Please reload this page.
Do not try to guess when to allocate a TTY and keep it as default - #9035
Conversation
eb418ff to
5321188Comparendeloof
commented
Dec 15, 2021
I can't find a better fix for this, but still sad we have to give up with tty detection, and wonder this will trigger more issues from users who expect compose to automatically adjust to environment :-/ |
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: Ulysses Souza <ulyssessouza@gmail.com>
5321188 to
63fcd1aCompareulyssessouza
commented
Dec 15, 2021
@ndeloof Yep. I also tried to save the automatic behaviour, but without success... |
thaJeztah
left a comment
There was a problem hiding this comment.
SGTM
just to double-check; this brings it to the same behaviour / defaults as compose v1, correct?
rfay
commented
Mar 8, 2022
Since panic is a result of this I don't think it's probably satisfactory, see https://stackoverflow.com/questions/70855915/fix-panic-provided-file-is-not-a-console-from-docker-compose-in-github-action |
ndeloof
commented
Mar 8, 2022
I don't like this either. I expect we get rid of this as we share more code with docker/cli, especially relying on the exact same |
rfay
commented
Mar 8, 2022
Right... but not preventing a panic? that doesn't seem like the right thing... |
ndeloof
commented
Mar 8, 2022
We can burn some cycles trying to find a better way to manage this and avoid a |
rfay
commented
Mar 8, 2022
Sounds good. I had actually planned long ago and half-implemented a switch to using docker's exec for |
rostislav-simonik-plc
commented
Jul 18, 2022
Hello, i just tested with version 2.6.1 of docker compose and still having the issue. Once i remove exec with tee it starts working. |
What I did
Do not try to guess when to allocate a TTY and keep it as default
Related issue
Resolves#8908