Skip to content

Release 11.7.0: An error occurred getting a credentia #1152

@Jank1310

Description

@Jank1310

Expected Behaviour
Run tests / pull images successfully (works in 11.6.011.5.1)

Actual Behaviour
Setup of tests / containers fails
Running tests with DEBUG log enabled shows:

Testcontainer Logs

2025-10-01T07:03:36.216Z testcontainers [DEBUG] Pulling image "testcontainers/ryuk:0.14.0"...
2025-10-01T07:03:36.217Z testcontainers [DEBUG] Executing Docker credential provider "docker-credential-desktop"
2025-10-01T07:03:36.303Z testcontainers [ERROR] An error occurred getting a credential: 1

Steps to Reproduce

  1. Install version 11.7.0
  2. Run await new MongoDBContainer("mongo:8").start()
  3. See error "An error occurred getting a credential"

Environment Information

  • Operating System: OSX 15.7.1
  • Docker Version:
Client: Docker Engine - Community
 Version:           28.4.0
 API version:       1.51
 Go version:        go1.25.0
 Git commit:        d8eb465f86
 Built:             Wed Sep  3 20:52:20 2025
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.47.0 (206054)
 Engine:
  Version:          28.4.0
  API version:      1.51 (minimum version 1.24)
  Go version:       go1.24.7
  Git commit:       249d679
  Built:            Wed Sep  3 20:58:53 2025
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.7.27
  GitCommit:        05044ec0a9a75232cad458027ca83437aae3f4da
 runc:
  Version:          1.2.5
  GitCommit:        v1.2.5-0-g59923ef
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Node version: 24.9.0
  • Testcontainers version: 11.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions