Jenkins and docker plugin: Problems to launch container

I have installed docker-plugin and configured it like in docker plugin instructions and used evarga/jenkins-slave image and custom images ( and tried with sshkeys and username&password credentials ) but i cannot run job. Connection test to docker cloud works but when i launch jenkins job it fails always like below.

Building in workspace /var/lib/jenkins/workspace/docker_test
ERROR: Build step failed with exception
    at com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOptionProvisionAndStart.execute(
    at com.nirima.jenkins.plugins.docker.builder.DockerBuilderControl.perform(
    at hudson.tasks.BuildStepMonitor$1.perform(
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(
    at hudson.model.Build$
    at hudson.model.Build$BuildExecution.doRun(
    at hudson.model.AbstractBuild$
    at hudson.model.Run.execute(
    at hudson.model.ResourceController.execute(
Build step 'Start/Stop Docker Containers' marked build as failure
Finished: FAILURE

I have Docker version:

  • Using commands in bluemix user interface
  • ERROR: Registering runner. forbidden (check registration token)
  • How to make communication between two docker containers running on two different hosts?
  • envsubst command getting stuck in a container
  • Why does different container of same elasticsearch image on docker exits out?
  • Multiple Docker images in .gitlab-ci.yml
  •     Client version: 1.6.0
        Client API version: 1.18
        Go version (client): go1.4.2
        Git commit (client): 4749651
        OS/Arch (client): linux/amd64

    and Docker plugin 0.9.0-rc1.

    All hints and instructions how to get this work with evarga/jenkins-slave image are wellcome 🙂

  • Executing Docker commands with Gradle
  • Delete file inside docker container using java
  • Launching nvidia-docker containers using Marathon
  • Is there are a difference in the way Docker and Rocket (rkt) containers access Linux kernel?
  • Bamboo: docker task “An error occurred trying to connect: Post”
  • Do I need a private docker registry?
  • One Solution collect form web for “Jenkins and docker plugin: Problems to launch container”

    I had similar issue when jenkins couldn’t talk to docker server port and when label contained dots.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.