-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
Description
Module
Dynalite
Testcontainers version
1.18.3
Using the latest Testcontainers version?
Yes
Host OS
macOS 13.4.1
Host Arch
ARM
Docker version
Docker version 24.0.5, build ced0996600
colima version 0.5.5What happened?
java.lang.NullPointerException
at org.testcontainers.utility.CommandLine.getSystemPath(CommandLine.java:70)
Relevant log output
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [org.testcontainers] to INFO
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [tc] to INFO
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.github.dockerjava] to WARN
11:21:45,582 |-INFO in ch.qos.logback.classic.model.processor.LoggerModelHandler - Setting level of logger [com.github.dockerjava.zerodep.shaded.org.apache.hc.client5.http.wire] to OFF
11:21:45,582 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@230d013b - End of configuration.
11:21:45,583 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@6e225c34 - Registering current configuration as safe fallback point
2023-08-11 11:21:45.628 Verbose logging enabled
11:21:45.891 [Test worker] INFO org.eclipse.jetty.util.log - Logging initialized @1437ms to org.eclipse.jetty.util.log.Slf4jLog
2023-08-11 11:21:46.042 Verbose logging enabled
11:21:46.081 [Test worker] INFO org.testcontainers.utility.ImageNameSubstitutor - Image name substitution will be performed by: DefaultImageNameSubstitutor (composite of 'ConfigurationFileImageNameSubstitutor' and 'PrefixingImageNameSubstitutor')
11:21:46.448 [Test worker] INFO org.testcontainers.dockerclient.DockerClientProviderStrategy - Loaded org.testcontainers.dockerclient.UnixSocketClientProviderStrategy from ~/.testcontainers.properties, will try it first
java.lang.NullPointerException
at org.testcontainers.utility.CommandLine.getSystemPath(CommandLine.java:70)Additional Information
I set the env. variables as it was suggested and it didn't help to resolve this problem. This issue doesn't happen when I run tests against the docker desktop.
Perhaps I should modify this file ~/.testcontainers.properties?