You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Testcontainers is refreshing its local image cache, it is using the command "inspect image" and parses the timestamp of the attribute "created". If this timestamp contains a time zone offset, then the following exception is thrown and Testcontainers fails to launch the container.
org.testcontainers.containers.ContainerLaunchException: Container startup failed
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=docker-registry.example.org/some/image:1.0, imagePullPolicy=DefaultPullPolicy())
Caused by: java.time.format.DateTimeParseException: Text '2020-07-24T07:17:51.365190246+02:00' could not be parsed at index 29
This happend with Docker version 18.06.3 on Linux.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.
Unstale. Does the Pull Request #3055 need anything else? We are running a fork of TestContainers with this PR applied in production since I opened this issue and we did not have any problems with it so far.
When Testcontainers is refreshing its local image cache, it is using the command "inspect image" and parses the timestamp of the attribute "created". If this timestamp contains a time zone offset, then the following exception is thrown and Testcontainers fails to launch the container.
This happend with Docker version 18.06.3 on Linux.
The text was updated successfully, but these errors were encountered: