Class DockerRegistryCredentials


  • public class DockerRegistryCredentials
    extends Object
    The extension for configuring the Docker communication via the remote API through the DockerRemoteApiPlugin.

    The following example demonstrates the use of the extension in a build script using the Groovy DSL:

     docker {
         registryCredentials {
             username = 'bmuschko'
             password = 'pwd'
         }
     }