JeanRev / TeamcityDockerCloudPlugin

Docker Cloud Plugin for the TeamCity build server
Apache License 2.0
33 stars 10 forks source link

Insecure Registry support #32

Closed srizzling closed 7 years ago

srizzling commented 7 years ago

This perhaps could be a bad suggestion as it isn't best practice but would there be any chance to support insecure registries?

Within the docker client this can be set in the daemon.json. I'm assuming there is a java client config equivalent that needs to be exposed for in UI for it to work, or am I missing something obvious?

Thanks, Sriram

srizzling commented 7 years ago

Nevermind.. Not being smart, the setting is done on daemon.json

JeanRev commented 7 years ago

No problem, this can be confusing at first :-)

So yes, communication between the daemon and the registry must be configured at the daemon level.

The plugin will actually only communicate with the Docker hub registry to list image tags needed to resolve the official agent docker image (something that the daemon API does not permit to do directly).