Skip to content

Bug: tc.host support issue - failing to connect to dockerd if tc.host is present #494

@alexanderankin

Description

@alexanderankin

Describe the bug

when we added #388 it reads stale data (or even in an older format?) and fails to connect to docker, preferring to connect to a tc desktop that may not be running anymore.

this library should validate the format before consuming the value, and potentially also check for a healthy server running on that port.

To Reproduce

Add/comment/uncomment the below line in ~/.testcontainers.properties

tc.host=tcp\://127.0.0.1\:42319

Runtime environment

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions