Docker container delete from Jenkins hangs

I tried today to configure my nodes in Jenkins with with docker 1.3.1, and Jenkins docker plugin v0.8.

The docker containers started successfully from jenkins but jenkins rejected them as the there were some echos in my bashrc.
I deleted these nodes manually from Docker server.

  • Is it possible to allow docker use the host machines dnses?
  • Sharing docker registry images among gcloud projects
  • docker toolbox: Is there a way to mount other folders than from c:\Users Windows?
  • How to limit IO speed in docker with ceph rbd?
  • How to isolate builds in jenkins using docker
  • View files in docker container
  • Now, I need to delete these nodes from jenkins and I cannot delete them. The delete operation simply hangs.
    Any change to Jenkins configuration also hangs.

    Any suggestions please?

    tried using

    1. Groovy console to delete Docker nodes

    2. Tried using delete option from Manage jenkins -> nodes

    3. Tried using Jenkins-cli script to delete these nodes.

    Container logs

    SSH connection reports a garbage before a command execution.
    Check your .bashrc, .profile, and so on to make sure it is quiet.
    The received junk text is as follows:
        at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(
        at hudson.plugins.sshslaves.SSHLauncher.access$100(
        at hudson.plugins.sshslaves.SSHLauncher$
        at hudson.plugins.sshslaves.SSHLauncher$
        at java.util.concurrent.FutureTask$Sync.innerRun(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
    [11/05/14 15:54:55] Launch failed - cleaning up connection
    [11/05/14 15:54:55] [SSH] Connection closed.

    Since any change in the configuration cannot be performed, I am totally stuck.

  • Mount samba volume in docker container
  • how to mount an efs file system using docker in beanstalk
  • Can you create Kerberos principals where the hostname is flexible? (Docker)
  • available memory when attached to docker container is less than container limit
  • Docker can't start on centos7: failed to start docker application container engine
  • CircleCI './docker-compose.yml' service 'version' doesn't have any configuration options
  • One Solution collect form web for “Docker container delete from Jenkins hangs”

    Manually removed elements from jenkins/config.xml and restarted jenkins

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