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

Add support to remove the local image so the vm doesn't get full

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Add support to remove the local image so the vm doesn't get full. Once the image is successfully pushed no reason to keep the local image that was used as basis for the push.

        Attachments

          Activity

          Hide
          chulkilee Chulki Lee added a comment -

          You should use another cleanup mechanism. Removing images at the end job may end up with not using cache in later builds, which must be avoided.

          Show
          chulkilee Chulki Lee added a comment - You should use another cleanup mechanism. Removing images at the end job may end up with not using cache in later builds, which must be avoided.
          Hide
          sroll Sylvain Rollinet added a comment -

          I have the same issue, my docker slave get regularly full because the images are never cleaned.

          Chulki Lee what do you propose as another cleanup mechanism?

          Show
          sroll Sylvain Rollinet added a comment - I have the same issue, my docker slave get regularly full because the images are never cleaned. Chulki Lee what do you propose as another cleanup mechanism?
          Hide
          chulkilee Chulki Lee added a comment -

          I run docker-gc or similar script periodically, which finds "old" images based on creation time and remove them.

          Show
          chulkilee Chulki Lee added a comment - I run docker-gc or similar script periodically, which finds "old" images based on creation time and remove them.

            People

            Assignee:
            csanchez Carlos Sanchez
            Reporter:
            yairogen Yair Ogen
            Votes:
            4 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: