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)

GitHub | hannesdejager | 3 months ago
  1. 0

    GitHub comment 403#243269906

    GitHub | 3 months ago | hannesdejager
    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)
  2. 0

    jenkins | SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='buildslave-centos6', launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@785ec7f5, remoteFsMapping='', remoteFs='/home/jenkins', instanceCap=1, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@38f86c7b, numExecutors=1, dockerTemplateBase=DockerTemplateBase{image=buildslave-centos6}, removeVolumes=false, pullStrategy=PULL_LATEST}' for cloud='docker' jenkins | com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"} at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) jenkins | at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) jenkins | at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) jenkins | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) jenkins | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:315) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:297) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:228) jenkins | at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) jenkins | at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) jenkins | at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424) jenkins | at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333) jenkins | at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:28) jenkins | at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:13) jenkins | at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:24) jenkins | at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) jenkins | at com.github.dockerjava.core.command.StartContainerCmdImpl.exec(StartContainerCmdImpl.java:53) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.runContainer(DockerCloud.java:288) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:366) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:57) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:242) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:239) jenkins | at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) jenkins | at java.util.concurrent.FutureTask.run(FutureTask.java:266) jenkins | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) jenkins | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) jenkins | at java.lang.Thread.run(Thread.java:745) jenkins | jenkins | Jun 19, 2016 7:47:37 PM com.nirima.jenkins.plugins.docker.DockerCloud provision

    Jenkins JIRA | 6 months ago | mans matulewicz
    com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
  3. 0

    jenkins | SEVERE: Error in provisioning; template='DockerTemplate{configVersion=2, labelString='buildslave-centos6', launcher=com.nirima.jenkins.plugins.docker.launcher.DockerComputerSSHLauncher@785ec7f5, remoteFsMapping='', remoteFs='/home/jenkins', instanceCap=1, mode=NORMAL, retentionStrategy=com.nirima.jenkins.plugins.docker.strategy.DockerOnceRetentionStrategy@38f86c7b, numExecutors=1, dockerTemplateBase=DockerTemplateBase{image=buildslave-centos6}, removeVolumes=false, pullStrategy=PULL_LATEST}' for cloud='docker' jenkins | com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"} at org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123) jenkins | at org.glassfish.jersey.process.internal.Stages.process(Stages.java:171) jenkins | at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251) jenkins | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667) jenkins | at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:315) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:297) jenkins | at org.glassfish.jersey.internal.Errors.process(Errors.java:228) jenkins | at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424) jenkins | at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664) jenkins | at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424) jenkins | at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333) jenkins | at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:28) jenkins | at com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:13) jenkins | at com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:24) jenkins | at com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33) jenkins | at com.github.dockerjava.core.command.StartContainerCmdImpl.exec(StartContainerCmdImpl.java:53) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.runContainer(DockerCloud.java:288) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:366) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:57) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:242) jenkins | at com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:239) jenkins | at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46) jenkins | at java.util.concurrent.FutureTask.run(FutureTask.java:266) jenkins | at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) jenkins | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) jenkins | at java.lang.Thread.run(Thread.java:745) jenkins | jenkins | Jun 19, 2016 7:47:37 PM com.nirima.jenkins.plugins.docker.DockerCloud provision

    Jenkins JIRA | 6 months ago | mans matulewicz
    com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 403#241991509

    GitHub | 4 months ago | magnayn
    com.github.dockerjava.api.BadRequestException: {"message":"starting container with HostConfig was deprecated since v1.10 and removed in v1.12"}
  6. 0

    Unable to run on docker 1.12

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

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. jersey-core-client
      ClientFilteringStages$ResponseFilterStage.apply
      1. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:134)
      2. org.glassfish.jersey.client.ClientFilteringStages$ResponseFilterStage.apply(ClientFilteringStages.java:123)
      2 frames
    3. Jersey Core
      Stages.process
      1. org.glassfish.jersey.process.internal.Stages.process(Stages.java:171)
      1 frame
    4. jersey-core-client
      JerseyInvocation$1.call
      1. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:251)
      2. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:667)
      3. org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:664)
      3 frames
    5. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:424)
      4 frames
    6. jersey-core-client
      JerseyInvocation$Builder.post
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:664)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:424)
      3. org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:333)
      3 frames
    7. docker-java
      StartContainerCmdImpl.exec
      1. com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:28)
      2. com.github.dockerjava.jaxrs.StartContainerCmdExec.execute(StartContainerCmdExec.java:13)
      3. com.github.dockerjava.jaxrs.AbstrSyncDockerCmdExec.exec(AbstrSyncDockerCmdExec.java:23)
      4. com.github.dockerjava.core.command.AbstrDockerCmd.exec(AbstrDockerCmd.java:33)
      5. com.github.dockerjava.core.command.StartContainerCmdImpl.exec(StartContainerCmdImpl.java:53)
      5 frames
    8. com.nirima.jenkins
      DockerCloud$1.call
      1. com.nirima.jenkins.plugins.docker.DockerCloud.runContainer(DockerCloud.java:294)
      2. com.nirima.jenkins.plugins.docker.DockerCloud.provisionWithWait(DockerCloud.java:372)
      3. com.nirima.jenkins.plugins.docker.DockerCloud.access$000(DockerCloud.java:58)
      4. com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:248)
      5. com.nirima.jenkins.plugins.docker.DockerCloud$1.call(DockerCloud.java:245)
      5 frames
    9. jenkins.util
      ContextResettingExecutorService$2.call
      1. jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
      1 frame
    10. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:166)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      5. java.lang.Thread.run(Thread.java:724)
      5 frames