We fixed it by setting these constants in our pipelines: Just above your test step:
env: TESTCONTAINERS_HOST_OVERRIDE: "host.docker.internal" TESTCONTAINERS_RYUK_DISABLED: "true"