DO - Container Registry

Reading time: 2 minutes

tip

AWS 해킹 배우기 및 연습하기:HackTricks Training AWS Red Team Expert (ARTE)
GCP 해킹 배우기 및 연습하기: HackTricks Training GCP Red Team Expert (GRTE) Azure 해킹 배우기 및 연습하기: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks 지원하기

기본 정보

DigitalOcean Container Registry는 Docker 이미지를 저장하고 관리할 수 있는 DigitalOcean에서 제공하는 서비스입니다. 이는 비공개 레지스트리로, 저장한 이미지는 오직 당신과 접근 권한을 부여한 사용자만 접근할 수 있습니다. 이를 통해 Docker 이미지를 안전하게 저장하고 관리할 수 있으며, DigitalOcean 또는 Docker를 지원하는 다른 환경에 컨테이너를 배포하는 데 사용할 수 있습니다.

Container Registry를 생성할 때 Kubernetes 클러스터의 모든 네임스페이스에서 이미지 풀 액세스(읽기)를 가진 비밀을 생성하는 것이 가능합니다.

연결

bash
# Using doctl
doctl registry login

# Using docker (You need an API token, use it as username and as password)
docker login registry.digitalocean.com
Username: <paste-api-token>
Password: <paste-api-token>

열거

bash
# Get creds to access the registry from the API
doctl registry docker-config

# List
doctl registry repository list-v2

tip

AWS 해킹 배우기 및 연습하기:HackTricks Training AWS Red Team Expert (ARTE)
GCP 해킹 배우기 및 연습하기: HackTricks Training GCP Red Team Expert (GRTE) Azure 해킹 배우기 및 연습하기: HackTricks Training Azure Red Team Expert (AzRTE)

HackTricks 지원하기