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

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

      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.

          [JENKINS-38415] Add support to remove the local image so the vm doesn't get full

          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.

          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.

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

          chulkilee what do you propose as another cleanup mechanism?

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

          Chulki Lee added a comment -

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

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

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

              Created:
              Updated: