Skip to content

[Bug]: The error message "Docker image xxx has not been created." is totally useless #1695

Description

@jfogi

Testcontainers version

4.12.0

Using the latest Testcontainers version?

Yes

Host OS

Windows

Host arch

x64

.NET version

10

Docker version

Client:       Podman Engine
Version:      5.8.1
API Version:  5.8.1
Go Version:   go1.26.1
Git Commit:   c6077f645788743258a1a749f8005b4fb3cbe533
Built:        Wed Mar 11 19:58:01 2026
OS/Arch:      windows/amd64

Server:       Podman Engine
Version:      5.8.1
API Version:  5.8.1
Go Version:   go1.25.7 X:nodwarf5
Git Commit:   c6077f645788743258a1a749f8005b4fb3cbe533
Built:        Wed Mar 11 00:00:00 2026
OS/Arch:      linux/amd64

Docker info

[Sensitive data]

What happened?

My unit tests have suddenly started failing unexpectedly because the await image.CreateAsync(); command is failing. This seems intermittent, and my investigation of this matter is made ten times harder because the only error I'm getting from Testcontainers is "Docker image xxx has not been created."

Great! Thanks for giving me absolutely NO information at all, how am I supposed to investigate that??!

Relevant log output

Additional information

No response

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