docker buildx history ls

docker buildx history ls

docker buildx history ls는 빌드 기록 목록을 보여주는 명령이에요. 현재 빌더의 과거 빌드를 확인할 때 사용해요.

출처: 문서

본문

docker buildx history ls는 현재 빌더의 빌드 기록을 나열해요. --filter로 필터링하고, --local로 현재 프로젝트의 빌드만, --no-trunc로 전체 출력을 볼 수 있어요.

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

옵션 기본값 설명
--filter 조건에 따라 출력을 필터링해요
--format table 커스텀 템플릿으로 출력 형식을 지정해요 (table, json, pretty 등)
--local 현재 저장소의 기록만 나열해요
--no-trunc 출력을 잘라내지 않아요

List all build records for the current builder

$ docker buildx history ls

List failed builds (--filter)

--filter로 실패한 빌드만 걸러볼 수 있어요.

$ docker buildx history ls --filter type=build --filter result=failure

List builds from the current project (--local)

--local로 현재 프로젝트의 빌드만 나열해요.

$ docker buildx history ls --local

Display full output without truncation (--no-trunc)

--no-trunc로 자르지 않고 전체 출력을 표시해요.

$ docker buildx history ls --no-trunc

Format output (--format)

--format으로 출력 형식을 지정해요.

더 알아보기