이미지 제한
이미지 제한 (restricted_images)
Docker Hub 조직 설정에서 이미지 사용을 제한하는 규칙 스키마예요. 이미지 제한 활성 여부와 공식 이미지·검증된 게시자 이미지 허용 여부를 담아요.
출처: 문서
본문
이미지 제한 객체의 필드는 다음과 같아요.
enabled: 조직 사용자의 이미지 사용을 제한할지 여부allow_official_images:enabled가true일 때 공식 이미지를 허용할지 여부allow_verified_publishers:enabled가true일 때 검증된 게시자 이미지를 허용할지 여부
{
"properties": {
"allow_official_images": {
"description": "Allow usage of official images if \"enabled\" is `true`.",
"example": true,
"type": "boolean"
},
"allow_verified_publishers": {
"description": "Allow usage of verified publisher images if \"enabled\" is `true`.",
"example": true,
"type": "boolean"
},
"enabled": {
"description": "Whether or not to restrict image usage for users in the organization.",
"example": true,
"type": "boolean"
}
},
"type": "object"
}
더 알아보기
- 조직 설정 (orgSettings): 이미지 제한이 속한 조직 설정 구조를 확인해요.
- 조직 설정 수정 작업: 이 설정을 적용하는 API를 살펴봐요.