Skip to content

Conversation

@nosan
Copy link
Contributor

@nosan nosan commented Oct 24, 2025

See #45281


***************************
APPLICATION FAILED TO START
***************************

Description:

Could not find a valid Docker environment for Testcontainers.

Action:

    - Ensure a Docker-compatible container engine is installed and running.
    - If running Testcontainers in CI, ensure the runner has access to the daemon, typically by using a mounted socket or a Docker-in-Docker setup.
    - Review the Testcontainers documentation for troubleshooting and advanced configuration options.

Introduce a FailureAnalyzer to provide actionable guidance
when Testcontainers fails to detect a running Docker-compatible environment.

Signed-off-by: Dmytro Nosan <[email protected]>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 24, 2025
@snicoll snicoll added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 27, 2025
@snicoll snicoll added this to the 4.x milestone Oct 27, 2025
snicoll pushed a commit to snicoll/spring-boot that referenced this pull request Nov 17, 2025
This commit introduces a failure analyzer implementation that provides
actionable guidance when Testcontainers fails to detect a running
Docker-compatible environment.

See spring-projectsgh-47797

Signed-off-by: Dmytro Nosan <[email protected]>
snicoll added a commit to snicoll/spring-boot that referenced this pull request Nov 17, 2025
@snicoll snicoll self-assigned this Nov 17, 2025
@snicoll snicoll modified the milestones: 4.x, 4.1.x Nov 17, 2025
@snicoll
Copy link
Member

snicoll commented Nov 17, 2025

This PR is ready to be merged once main switches to 4.1.0-SNAPSHOT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants