Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

define username and password for repository #46

Closed inkrement closed 9 years ago

inkrement commented 9 years ago

is it possible to define the username and password for docker hub?

mattgruter commented 9 years ago

Yes, use the apiUser and apiPassword properties:

See https://github.com/Transmode/gradle-docker#docker-remote-api

SreekarVanguru commented 8 years ago

Matt - just checking aren't apiUser and apiPassword used to authenticate user with Docker server to run docker commands ?. Which properties do we need to use to authenticate when pushing the image to private registry/repository ?