Skip to content

[Bug]: Cannot connect to testcontainers in tahoe? #11418

@mwisnicki

Description

@mwisnicki

Module

PostgreSQL

Testcontainers version

2.0.3

Using the latest Testcontainers version?

Yes

Host OS

macOS

Host Arch

ARM

Docker version

Client:
 Version:           29.0.2-rd
 API version:       1.51 (downgraded from 1.52)
 Go version:        go1.25.4
 Git commit:        5a2d7eb
 Built:             Tue Nov 18 23:32:26 2025
 OS/Arch:           darwin/arm64
 Context:           default

Server:
 Engine:
  Version:          28.3.3
  API version:      1.51 (minimum version 1.24)
  Go version:       go1.24.8
  Git commit:       bea959c7b793b32a893820b97c4eadc7c87fabb0
  Built:            Sun Oct 12 08:01:14 2025
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          v2.1.5
  GitCommit:        fcd43222d6b07379a4be9786bda52438f0dd16a1
 runc:
  Version:          1.3.3
  GitCommit:        d842d7719497cc3b774fd71620278ac9e17710e0
 docker-init:
  Version:          0.19.0
  GitCommit:

What happened?

I had VZ setup as per https://docs.rancherdesktop.io/how-to-guides/using-testcontainers/
and everything worked fine until few days ago when I updated macOS to Tahoe.

Now testcontainer is not able to connect to any containers

Could not connect to Ryuk at 192.168.64.2:32768

Same thing if I disable ryuk.

What works is using localhost

TESTCONTAINERS_HOST_OVERRIDE=localhost

Relevant log output

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions