Docker credential helper
Openembedded thud
dockerfile also optionally accepts a registryUrl and registryCredentialsId parameters which will help to specify the Docker Registry to use and its credentials. For example: For example: agent { dockerfile { filename ' Dockerfile.build ' dir ' build ' label ' my-defined-label ' registryUrl ' https://myregistry.com/ ' registryCredentialsId ' myPredefinedCredentialsInJenkins ' } }
Docker authentication works automatically out of the box. It uses the same Docker libraries to infer the location of the credentials on the system and optionally invoke any necessary credentials store helper to decrypt them. All you have to do as a user is issue the command docker login --username <username>