docker buildx history inspect attachment

docker buildx history inspect attachment

docker buildx history inspect attachment는 빌드 기록의 첨부물을 검사하는 명령이에요. SBOM·provenance 같은 증명 첨부물을 확인할 때 사용해요.

출처: 문서

본문

docker buildx history inspect attachment는 빌드 기록에 포함된 첨부물을 검사해요. 플랫폼(--platform), 유형(--type) 또는 digest로 특정 첨부물을 고를 수 있어요.

지원하는 옵션은 다음과 같아요.

옵션 기본값 설명
--platform 서버가 멀티플랫폼을 지원하면 플랫폼을 설정해요
--type 첨부물 유형

Inspect an attachment by platform (--platform)

--platform으로 특정 플랫폼의 첨부물을 검사해요.

$ docker buildx history inspect attachment <build-id> --platform=linux/amd64

Inspect an attachment by type (--type)

--type으로 특정 유형의 첨부물을 검사해요.

$ docker buildx history inspect attachment <build-id> --type=sbom

Inspect an attachment by digest

digest로 특정 첨부물을 검사할 수 있어요.

더 알아보기