Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-25745

Ensure DOCKER_CONTAINER_IDS contains unique IDs

    Details

    • Similar Issues:

      Description

      Following chain of docker build steps

      • Create image
      • Create container
      • Start container(s) [Container ID: $DOCKER_CONTAINER_IDS]
      • Remove container(s) [Container ID: $DOCKER_CONTAINER_IDS]

      fails trying to remove container twice:

      [Docker] INFO: Creating docker image from MY_WORKSPACE
      [Docker] INFO: Sucessfully created image 7
      [Docker] INFO: created container id 63959f6bcd07c97c0d2d96362e8e31094b5b65ecc601066d260881db17ee3681 (from image 7)
      [Docker] INFO: started container id 63959f6bcd07c97c0d2d96362e8e31094b5b65ecc601066d260881db17ee3681
      [Docker] INFO: removed container id 63959f6bcd07c97c0d2d96362e8e31094b5b65ecc601066d260881db17ee3681
      [Docker] ERROR: command 'Remove container(s)' failed: No such container: 63959f6bcd07c97c0d2d96362e8e31094b5b65ecc601066d260881db17ee3681
      

      I am not really sure what is the semantics of this build variable is but duplicates are probably undesirable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                olivergondza Oliver Gondža
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: