Skip to content

[Bug]: Ryuk fails when using internal repo #1666

@tisonv

Description

@tisonv

Testcontainers version

4.11

Using the latest Testcontainers version?

Yes

Host OS

Linux

Host arch

x64

.NET version

10

Docker version

Client: Docker Engine - Community
 Version:           29.3.0
 API version:       1.54
 Go version:        go1.25.7
 Git commit:        5927d80
 Built:             Thu Mar  5 14:30:26 2026
 OS/Arch:           linux/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          29.3.0
  API version:      1.54 (minimum version 1.40)
  Go version:       go1.25.7
  Git commit:       83bca51
  Built:            Thu Mar  5 14:26:34 2026
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v2.2.2
  GitCommit:        301b2dac98f15c27117da5c8af12118a041a31d9
 runc:
  Version:          1.3.4
  GitCommit:        v1.3.4-0-gd6d73eb8
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

Docker info

Client: Docker Engine - Community
 Version:    29.3.0
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.31.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v5.1.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 1
  Running: 0
  Paused: 0
  Stopped: 1
 Images: 7
 Server Version: 29.3.0
 Storage Driver: overlay2
  Backing Filesystem: xfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 301b2dac98f15c27117da5c8af12118a041a31d9
 runc version: v1.3.4-0-gd6d73eb8
 init version: de40ad0
 Security Options:
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.14.0-503.23.2.el9_5.x86_64
 Operating System: AlmaLinux 9.7 (Moss Jungle Cat)
 OSType: linux
 Architecture: x86_64
 CPUs: 4
 Total Memory: 7.503GiB
 Name: SRVARRCON1R.cg62.int
 ID: d2c9c732-b007-4f48-b257-9c249009801e
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
  ::1/128
 Live Restore Enabled: false
 Firewall Backend: iptables

What happened?

Since last version I'm unable to get the ryuk image from my nexus repository.
The PR #1658 forces a SHA256 on the ryuk image but it is not the same in my repo.

If I disable ryuk, it works nicely.
If I downgrade to 4.10, it works nicely.
If I specify <TESTCONTAINERS_RYUK_CONTAINER_IMAGE>testcontainers/ryuk:0.14.0</TESTCONTAINERS_RYUK_CONTAINER_IMAGE> it works but it feels counter intuitive / lacks documentation since we set it to the default value, as specified in https://dotnet.testcontainers.org/custom_configuration/

Relevant log output

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationDocs, docs, docs.questionHave you tried our Slack Workspace (https://testcontainers.slack.com)?

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions