Reputation: 1115
I'm trying to run a command on container like this docker-compose exec xyz
from .gitlab-ci.yml file.
The error, which I don't understand, reads the input device is not a TTY
and then it exits out.
How can I troubleshoot this ?
Upvotes: 2
Views: 627
Reputation: 230
TTY is effectively STDIN, you're executing a command (I'm guessing with the -it
) flag that expects some input after the exec command from STDIN (Like typing a password, or executing bash commands in a running container). As it's a build pipeline it errors because you haven't provided anything. Otherwise can you please provide some more info about your input?
Upvotes: 2