본문 바로가기

내가 당면한 문제와 해결방안

how to list all images and tags from docker private repository

프라이빗 리포지토리에 내가 원하는 "이미지"가 "태그"가 뭐뭐있는지 궁금할때 있지않나 !

 

 

 

curl -X GET https://프라이빗_리포지토리_도메인/v2/_catalog

# ex : curl -X GET https://lab-dev-docker.inpark.kr/v2/_catalog
# 이렇게하면 리포지토리의 도커 이미지가 반환됨.

curl https://프라이빗_리포지토리_도메인/v2/이미지명/tags/list

# ex : curl https://lab-dev-docker.inpark.kr/v2/tour-geo-admin/tags/list
# 이미지 별로 태그까지 조회할 수 있음.

 

 

 


 

 

참고

(https://forums.docker.com/t/docker-private-registry-how-to-list-all-images/21136/7)

(https://stackoverflow.com/questions/31251356/how-to-get-a-list-of-images-on-docker-registry-v2)

(https://github.com/Juniper/contrail-docker/wiki/How-to-browse-docker-registry-to-list-images-and-image-tags-(or-versions))

'내가 당면한 문제와 해결방안' 카테고리의 다른 글

mioji  (0) 2019.07.22
docker volume 잡아줄때  (0) 2019.07.17
this  (0) 2019.06.29
javascript this  (0) 2019.06.29
python 동기 -> 비동기 싱글스레드 -> 비동기 멀티스레드  (0) 2019.06.27