serverless-python-requirements
serverless-python-requirements copied to clipboard
Stdout and stderr are not printed on docker run command error
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'.