jenkinsci / jenkinsci/docker-workflow-plugin

[JENKINS-69852] Use docker-java instead of docker cli

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

Description

If a pipeline defines a agent { docker{ ... }}}} section, the plugin will rely that docker cli is installed on the node to perform the appropriate operations ({{{}docker inspect, docker run, ...)

When using Jenkins in a container, this means we need to install docker-in-docker, which brings extra complexity.

If docker-build-step-plugin already brings a dependency to docker-java (if I understand JENKINS-22985 right), maybe the same could be done for this plugin too ?

---
Originally reported by glatapoui, imported from: Use docker-java instead of docker cli


  • status: Open
  • priority: Major
  • component(s): docker-workflow-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 2025-12-07

Raw content of original issue

If a pipeline defines a agent { docker{ ... }}}} section, the plugin will rely that docker cli is installed on the node to perform the appropriate operations ({{{}docker inspect, docker run, ...)

When using Jenkins in a container, this means we need to install docker-in-docker, which brings extra complexity.

If docker-build-step-plugin already brings a dependency to docker-java (if I understand JENKINS-22985 right), maybe the same could be done for this plugin too ?

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.