Skip to content

Testcontainers with Socket proxy enabled on the host machine #3927

@str-ay

Description

@str-ay

I have a socks proxy enabled on my MacOS laptop. Now I have a problem: testcontainers can not find docker.sock

Could not find a valid Docker environment. Please check configuration. Attempted configurations were:
    2021-03-24 15:48:12.421 ERROR [,,] 3944 --- [    Test worker] o.t.d.DockerClientProviderStrategy       :     UnixSocketClientProviderStrategy: failed with exception TimeoutException (Timeout waiting for result with exception). Root cause SocketException (Malformed reply from SOCKS server)

Is there way to exclude this file from proxying or configure testcontainers ignore global socks proxy? Or connect with docker in some other way?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions