Skip to content

ImagePullPolicyTest fails on Docker for Windows with WSL2 backend #4264

Open
@kiview

Description

@kiview

All tests in ImagePullPolicyTest currently fail on Docker for Windows with WSL2 backend.

From what I manually investigated, it is not possible to push to and pull from the Docker registry that is started for the test (but accessing the API via curl from within WSL2 over the mapped port is possible). However, when manually running a registry and interacting with it from within WSL2, Docker behaves as expected.

There is also the possibility that pushing the initial test image already fails silently:
https://github.com/testcontainers/testcontainers-java/blob/master/core/src/test/java/org/testcontainers/images/ImagePullPolicyTest.java#L51

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions