-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
No stack trace resulting in ContainerError when tty is enabled #2260
Labels
Comments
Thank you for your report @damienrj |
@jcsirot Sure
Code: import docker
client = docker.from_env()
client.containers.run('test:latest', command='script.py', tty=True, stderr=True, stdout=True) Only see the ContainerError
import docker
client = docker.from_env()
client.containers.run('test:latest', command='script.py', tty=False, stderr=True, stdout=True) Can see the Exception: test
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having an issue where I don't get the error responsible for the ContainerError unless I turn off tty. Is the expected behavior?
With tty enabled:
With tty disabled:
The text was updated successfully, but these errors were encountered: