×
Find plugins

Docker Commons1.11Minimum Jenkins requirement: 1.642.4ID: docker-commons

APIs for using Docker from other plugins.

View Docker Commons Plugin on the plugin site for more information.

Older versions of this plugin may not be safe to use. Please review the following warnings before using an older version:

Summary

Plugin provides the following features:

  • API for managing Docker image and container fingerprints
  • Credentials and location of Docker Registry
  • Credentials and location of Docker Daemon (aka Docker Remote API)
  • ToolInstallation for Docker CLI clients
  • DockerImageExtractor extension point to get Docker image relations from jobs
  • Simple UI referring related image fingerprints in Docker builds

Use-cases

Credentials and locations

This allows users to configure one set of endpoint/credentials and use it across all the Docker
related plugins, thereby keeping configuration more DRY.

See here and here and their corresponding `config.jelly` files for an example of how to use them.

Version history

Version 1.11 (Jan 04, 2018)

  • JENKINS-48674 - Getting issue details... STATUS  Failure to download newer Docker releases from the automatic tool installer.

Version 1.10 (Dec 11, 2017)

  • JENKINS-48453 - Getting issue details... STATUS  Regression in Jenkins 2.93+ when using server credentials.

Version 1.9 (Oct 10, 2017)

  • Removing icon-shim plugin dependency.

Version 1.8 (Jul 10, 2017)

Version 1.7 (Jun 16, 2017)

  • Always include port in image name.
  • Add credentials binding implementation for Docker server credentials.

Version 1.6 (Jan 11, 2017)

  • (error) JENKINS-39181 Fix Invalid fully qualified image name when registry URL is specified

Version 1.5 (Oct 05, 2016)

  • (plus) JENKINS-38018 API for more informative logging about use of registry credentials.

Version 1.4.1 (Sep 08, 2016)

Version 1.4.0 (Jun 17, 2016)

  • (info) Migration to the new parent POM (JENKINS-35018)
  • (info) Jenkins core dependency has been updated to 1.580.x

Version 1.3.1 (Feb 19, 2016)

Version 1.3 (Feb 08, 2016)

  • (plus) Support the "sha256:" prefix in image ID, required for Docker 1.10 (JENKINS-32792)
  • (plus) Replace build action icon stubs by Docker icons (JENKINS-28776)

Version 1.2 (Jul 29 2015)

  • (error) NPE when using credentials together with docker 1.7 (JENKINS-29627)
  • (plus) Support creation of named fingerprints in the API (JENKINS-29098)

Version 1.1 (Jul 07 2015)

  • (error) Cleanup of FindBugs issues, update of the CI system
  • (error) Fix the issue with the Docker Tool selector (PR #40)
  • (plus) Support Docker 1.7+ .docker/config.json (PR #38)

Version 1.0 (May 22 2015)

  • First stable release
  • There were may alpha releases before this release, see commit histories in GitHub
ArchivesGet past versions
Labels
Previous Security Warnings