com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}

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

Solutions on the web

via GitHub by wilkinsona
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
via GitHub by josephwinston
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
via GitHub by alde
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
via GitHub by alex-glv
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
via GitHub by nbars
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
via GitHub by magnayn
, 1 year ago
{"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
at com.github.dockerjava.jaxrs.filter.ResponseStatusExceptionFilter.filter(ResponseStatusExceptionFilter.java:43)
at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424)
at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:28)
at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:13)
at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
at org.springframework.boot.launchscript.SysVinitLaunchScriptIT.doTest(SysVinitLaunchScriptIT.java:211)
at org.springframework.boot.launchscript.SysVinitLaunchScriptIT.doLaunch(SysVinitLaunchScriptIT.java:202)
at org.springframework.boot.launchscript.SysVinitLaunchScriptIT.launchWithSingleCommandLineArgument(SysVinitLaunchScriptIT.java:166)

Users with the same issue

You are the first who have seen this exception.

Write tip

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