이미지 제한

이미지 제한 (restricted_images)

Docker Hub 조직 설정에서 이미지 사용을 제한하는 규칙 스키마예요. 이미지 제한 활성 여부와 공식 이미지·검증된 게시자 이미지 허용 여부를 담아요.

출처: 문서

본문

이미지 제한 객체의 필드는 다음과 같아요.

  • enabled: 조직 사용자의 이미지 사용을 제한할지 여부
  • allow_official_images: enabledtrue일 때 공식 이미지를 허용할지 여부
  • allow_verified_publishers: enabledtrue일 때 검증된 게시자 이미지를 허용할지 여부
{
  "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"
}

더 알아보기