-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
improved logging when unable to fetch docker image #2443
Labels
Comments
Hi @dbyron0, I marked it as "good first issue". One way of implementing it would be to improve |
dbyron0
pushed a commit
to locationlabs/testcontainers-java
that referenced
this issue
Mar 17, 2020
Like this ? |
dbyron0
pushed a commit
to locationlabs/testcontainers-java
that referenced
this issue
Mar 17, 2020
quincy
pushed a commit
to quincy/testcontainers-java
that referenced
this issue
May 28, 2020
* clean up imports in GenericContainer * include image name in RemoteDockerImage.toString() to fix testcontainers#2443 * test RemoteDockerImage directly * handle failures getting the image name * use completeExceptionally instead of mocking * tweak assertions * more assertion tweaks * add isDone check to RemoteDockerImage.toString -- still figuring out why test fails * go back to using lombok @tostring, exclude dockerClient while we're at it * use `Futures.lazyTransform` that also proxies `isDone` * `imageNameToString` should not be public * Include the message on error Co-authored-by: Byron David <david.byron@avast.com> Co-authored-by: David Byron <dbyron@dbyron.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From https://testcontainers.slack.com/archives/C1SUBPZK6/p1584131893103200:
I’m trying to debug a struggle with pulling a docker image in a CI environment. At the moment, I see this:
but no where in there do I actually get to see the name of the image that’s failing. The relevant code (from https://github.com/testcontainers/testcontainers-java/blob/master/core/src/main/java/org/testcontainers/containers/GenericContainer.java#L1265) is:
Any thoughts on how to improve it to see the image name?
The text was updated successfully, but these errors were encountered: