docker buildx history inspect
docker buildx history inspect
docker buildx history inspect는 빌드 기록을 검사하는 명령이에요. 특정 빌드의 세부 정보를 보고 싶을 때 사용해요.
출처: 문서
본문
docker buildx history inspect는 지정한 빌드 기록의 세부 정보를 보여줘요. 빌드 ID를 지정하지 않으면 가장 최근 빌드를 검사해요.
지원하는 옵션은 다음과 같아요.
| 옵션 | 기본값 | 설명 |
|---|---|---|
--format |
pretty |
커스텀 템플릿으로 출력 형식을 지정해요 (table, json, pretty 등) |
Inspect the most recent build
빌드 ID를 지정하지 않으면 가장 최근 빌드를 검사해요.
$ docker buildx history inspect
Inspect a specific build
빌드 ID를 지정해 특정 빌드를 검사해요.
$ docker buildx history inspect <build-id>
Format the output (--format)
--format으로 출력을 원하는 형식으로 지정해요.
사용할 수 있는 하위 명령은 다음과 같아요.
| 명령 | 설명 |
|---|---|
docker buildx history inspect attachment |
Inspect a build record attachment |