xelalexv / dregsy

Keep container registries in sync
https://buymeacoffee.com/xelalex
Apache License 2.0
254 stars 52 forks source link

Artifacts migration between two internal Nexus Registry #116

Open bhanubundela opened 3 months ago

bhanubundela commented 3 months ago

I have a use case where I need to sync artifacts from one Nexus to another Nexus Server , both my Nexus Server is only internally accessible and I am accessing using https proxy ,

EX: 1st Nexus Server: myinternal1.nexus-server.com

2nd Nexus Server: myinternal2.nexus-server.com

My question is:

xelalexv commented 3 months ago
* can we use it dregsy to  sync artifacts also (.jar etc)

No, dregsy is strictly for syncing container images.

* Any extra steps for internally defined server

Not sure, I've never used it in this kind of setup. You'd probably have to set environment variable HTTPS_PROXY for the dregsy container. But I don't know whether skopeo would honor that (provided your plan is to use the skopeo relay). You could check the skopeo documentation to see whether it has proxy support.

bhanubundela commented 3 months ago

thank you @xelalexv for the information provided. I will try to check the skopeo documentation.