AdaptiveConsulting / nexus-casc-plugin

Configuration as code plugin for Sonatype Nexus Repository Manager
MIT License
48 stars 21 forks source link

http(s) connector port for docker repository #5

Closed Aleks3050 closed 4 years ago

Aleks3050 commented 4 years ago

Hi @bdellegrazie ! Please tell me how to configure http(s) connector for docker group? Screenshot_12

Thank you!

Aleks3050 commented 4 years ago

And second question - how to use option "Use Docker Hub"? Screenshot_13 Thank you!

bdellegrazie commented 4 years ago

Hi @Aleks3050 ,

For the first question: Use httpPort and httpsPort respectively in the attributes/docker section. A commented out example has been added to the sample: https://github.com/AdaptiveConsulting/nexus-casc-plugin/blob/970de38632fccab768e0c9c8d44d24156557024b/default-nexus.yml#L177-L178

For the second question there is an existing example in the sample: The key elements are v1Enabled: true, remoteUrl: https://registry-1.docker.io and indexType: HUB https://github.com/AdaptiveConsulting/nexus-casc-plugin/blob/970de38632fccab768e0c9c8d44d24156557024b/default-nexus.yml#L186-L217