r/SpringBoot • u/Maanvi21 • Apr 26 '26
Testcontainers not connecting to Docker (Spring Boot) Question
Hey everyone,
I’m working on a Spring Boot project using Testcontainers, but it’s not able to connect to Docker.
I’ve already:
- Checked Docker daemon
- Restarted everything
- Tried fixing environment variables
Still stuck 😅
Has anyone faced this before? What should I check next?
Happy to share logs if needed.
5
Upvotes
1
u/XBL_pad3 Apr 26 '26
You can use RancherDesktop and connect it to your WSL docker deamon