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

Stdout and stderr are not printed on docker run command error #702

Closed
zhemaituk opened this issue Jun 6, 2022 · 1 comment · Fixed by #723
Closed

Stdout and stderr are not printed on docker run command error #702

zhemaituk opened this issue Jun 6, 2022 · 1 comment · Fixed by #723
Assignees

Comments

@zhemaituk
Copy link
Contributor

Reproduced on the latest version: 5.4.0

It stopped logging the docker command's stdout and stderr, hiding actual underlying error.
To reproduce try:

dockerizePip: true
dockerImage: not-existing-image:123

Actual log output:
Exited with code 125. Stdout: undefined. Stderr: undefined

Expected:
stdout/stderr produced by docker command is printed to the logs displaying the actual error:

docker: Error response from daemon: pull access denied for not-existing-image, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
@pgrzesik
Copy link
Contributor

pgrzesik commented Sep 27, 2022

Thanks for reporting @zhemaituk - #723 should improve the situation. Example error now (includes full stderr output):

239B5B6F-1F90-4689-A9D6-D8ECFA812119_4_5005_c

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

Successfully merging a pull request may close this issue.

2 participants