-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail to create custom container with gradle on linux #641
Comments
@gadieichhorn you don't need a docker machine on Linux. Testcontainers will auto-detect your local Docker daemon. However, the error you get is "ClassNotFoundException" and unrelated to Docker part of Testcontainers. Please send the full log or at least the full stacktrace of that exception. |
|
@gadieichhorn this is Gradle's exception, not what your code is throwing. Please send the exception you get from your code |
Ok, I moved the initialization to a @test method, the @ClassRule gave no additional info.
com.rds.observato.ignite.IgniteServerTest > testContainer STANDARD_OUT |
@gadieichhorn oh wow.... could you please try version 1.6.0? It looks like a regression in 1.7.0 |
ok, that is working... 👍 |
@gadieichhorn thanks for reporting! I created a PR to fix it ( #642 ). Sorry for that! We will release a hotfix ASAP! |
ok, thats great! I will wait for the fix. |
@gadieichhorn released in 1.7.1 |
thanks, I will tests and provide feedback if any issues. |
tested! works nicely. well done |
I run linux fedora 27
Docker version 17.12.1-ce, build 7390fc6
my gradle dependency has:
I have a custom container image I want to run as a test dependency
I created a custom contaier class
My test is then:
getting a test exception on the class rule line
I do have a docker-machine installed, do I need to set the DOCKER_HOST ? to what value?
Can I set it from gradle build or some gradle config file?
The text was updated successfully, but these errors were encountered: