buildx/docs/reference/buildx_history_logs.md
sarahsanders-docker 4dac5295a1
Add descriptions and examples for buildx history commands
Signed-off-by: sarahsanders-docker <sarah.sanders@docker.com>
2025-05-05 14:32:03 -07:00

1.2 KiB

docker buildx history logs

Print the logs of a build

Options

Name Type Default Description
--builder string Override the configured builder instance
-D, --debug bool Enable debug logging
--progress string plain Set type of progress output (plain, rawjson, tty)

Description

Print the logs for a completed build. The output appears in the same format as --progress=plain, showing the full logs for each step without multiplexing.

By default, this shows logs for the most recent build on the current builder.

Examples

Print logs for the most recent build

docker buildx history logs

Print logs for a specific build

docker buildx history logs mybuild

Print logs in JSON format

docker buildx history logs mybuild --progress rawjson

Print logs in TTY format

docker buildx history logs mybuild --progress tty