jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-40723] Built Dockerfile images are never removed

Open
#464 31 comments 0 reactions 0 assignees View on GitHub
component:docker-workflow-plugin imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
527
Forks
422
Avg merge
10m
Merged PRs (30d)
1

Description

When using a Dockerfile to set up the build environment (as added in JENKINS-39216), a docker image is built and tagged with the SHA1 hash of the Dockerfile. Nothing seems to remove this image once the build competes, so disk space on the docker node will eventually be exhausted.

---
Originally reported by gllewellyn, imported from: Built Dockerfile images are never removed


  • status: Reopened
  • priority: Minor
  • component(s): docker-workflow-plugin
  • label(s): docker
  • resolution: Unresolved
  • votes: 5
  • watchers: 21
  • imported: 2025-12-07

Raw content of original issue

When using a Dockerfile to set up the build environment (as added in JENKINS-39216), a docker image is built and tagged with the SHA1 hash of the Dockerfile. Nothing seems to remove this image once the build competes, so disk space on the docker node will eventually be exhausted.

  • environment: Jenkins 2.19.3, pipeline-model-definition-plugin 0.6

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.