-1

I have a docker private registry and docker images in it. Now I would like to copy all the images which are created in last 6 months, to another private docker registry. Can anyone help me with command/script to find out the docker images which got pushed into the registry in last 6 months? then I can re-tag it and push to the new registry.

Thanks in Advance.

Nijisha Kg
  • 541
  • 2
  • 7
  • 15

2 Answers2

1

Didn't get the question correctly but these are some links related to what i understood:

How to get a list of images on docker registry v2

https://blog.giantswarm.io/moving-docker-container-images-around/

Apb
  • 270
  • 4
  • 9
0

I got the images. by the following three steps. 1. get the the catalogs from the registry 2. get the Tags for the images from step1 3. get the created date of the image:tag from step 2 4. compare the date

Nijisha Kg
  • 541
  • 2
  • 7
  • 15