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

Ensure DOCKER_CONTAINER_IDS contains unique IDs

    XMLWordPrintable

    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

            olivergondza Oliver Gondža created issue -
            olivergondza Oliver Gondža made changes -
            Field Original Value New Value
            Summary Ensure {{DOCKER_CONTAINER_IDS}} contains unique IDs Ensure DOCKER_CONTAINER_IDS contains unique IDs
            olivergondza Oliver Gondža made changes -
            Remote Link This issue links to "PR19 (Web Link)" [ 11916 ]
            vjuranek vjuranek made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159722 ] JNJira + In-Review [ 196179 ]

              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: