org.testcontainers.containers.ContainerLaunchException: Container startup failed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

Take a look at this blog post on how to set up Grid2 https://goo.gl/rxzbE6. A user related (in the email group on the source) that using older selenium libs solves this exception.

Solutions on the web

via GitHub by scetix
, 1 year ago
Container startup failed
via GitHub by rnorth
, 11 months ago
Container startup failed
via GitHub by coutoPL
, 11 months ago
via GitHub by hooskers
, 1 hour ago
via GitHub by kiview
, 9 months ago
Container startup failed
via GitHub by rnorth
, 1 year ago
Container startup failed
java.lang.NullPointerException: containerId was not specified
at com.github.dockerjava.core.command.LogContainerCmdImpl.withContainerId(LogContainerCmdImpl.java:78)
at com.github.dockerjava.core.command.LogContainerCmdImpl.(LogContainerCmdImpl.java:38)
at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:231)
at org.testcontainers.containers.GenericContainer.lambda$start$0(GenericContainer.java:169)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:76)
at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:83)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:167)
at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:174)
at org.testcontainers.containers.DockerCompose.start(DockerComposeContainer.java:305)
at org.testcontainers.containers.DockerComposeContainer.pullImages(DockerComposeContainer.java:92)
at org.testcontainers.containers.DockerComposeContainer.starting(DockerComposeContainer.java:82)
at org.testcontainers.containers.FailureDetectingExternalResource$1.evaluate(FailureDetectingExternalResource.java:28)
at org.junit.rules.RunRules.evaluate(RunRules.java:20)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:212)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

Users with the same issue

6 times, 3 days ago
2 times, 6 days ago
Once, 2 weeks ago
10 times, 4 weeks ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.