Could not connect to Ryuk at 172.17.0.1:52848 #5037
Unanswered
jeffb-berzzani
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I try to run my
with job step:
- name: Build with Gradle Wrapper
run: ./gradlew build
locally for my Java SpringBoot project that uses Testcontainers, I get the following error:
Starting a Gradle Daemon (subsequent builds will be faster)
| Exception in thread "Thread-4" java.lang.IllegalStateException: Could not connect to Ryuk at 172.17.0.1:52848
| at org.testcontainers.utility.RyukResourceReaper.maybeStart(RyukResourceReaper.java:145)
| at org.testcontainers.utility.RyukResourceReaper.init(RyukResourceReaper.java:42)
However, if I commit this to github, the action works fine!
How can I get this to work locally using act? I've tried --bind /var/run/docker.sock:/var/run/docker.sock on the command line, but no luck. I've tried disabling ryuk but that doesn't seem to work either. What am I missing? Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions