이미지 레이어
이미지 레이어 (layer)
Docker Hub 이미지를 구성하는 레이어 하나의 메타데이터 스키마예요. 레이어의 다이제스트·크기와 그 레이어를 만든 Dockerfile 지시어를 담아요.
출처: 문서
본문
레이어 객체의 필드는 다음과 같아요.
digest: 이미지 레이어 다이제스트 (null 가능)instruction: 해당 레이어를 만든 Dockerfile 지시어size: 레이어 크기 (정수)
{
"properties": {
"digest": {
"description": "image layer digest",
"type": [
"string",
"null"
]
},
"instruction": {
"description": "Dockerfile instruction",
"type": "string"
},
"size": {
"description": "size of the layer",
"type": "integer"
}
},
"type": "object"
}
더 알아보기
- 이미지 (image): 레이어들이 속한 상위 이미지 스키마를 확인해요.
- 저장소 정보 (repository_info): 이미지·레이어 정보가 쓰이는 저장소 객체를 살펴봐요.