Could not find a valid Docker environment when using Gradle Shared Build Service #9034
Replies: 2 comments 3 replies
-
Hey @debapgithub, can you please make sure your post is properly formatted? Would make reading the examples much easier. (edit: I just fixed the formatting in your original post) TBH I think that is a level complexity for which I would I best need a reproducer project, to see if this is an issue inherent to your environment, or the Gradle setup. Just to double check, the scenario is as follow:
Is this correct? |
Beta Was this translation helpful? Give feedback.
3 replies
-
Moved to an issue #9050. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am new to testcontainers and setting up for a gradle service where I wanted to achieve the following in sequence.
When gradle build command will run :
./gradlew clean build
I have tried starting MySql testcontainer as a gradle task and I was able to execute the following tasks properly except one issue due to which I have decided to switch to another approach where I can start the MySql testcontainer as a gradle Shared service so that it will automaticllay manage the testcontainer lifecycle.
Here is the code which will start the testcontainer as a gradle shared service and it worked fine as well. But next day when I tried running the gradle command, I started getting the below error.
Error
Gradle Code
Not sure whats going wrong and how it worked first time when I did this code.
Thanks in advance!!
-Deba
Beta Was this translation helpful? Give feedback.
All reactions