CmdID / docker / docker buildx / docker buildx replay
docker buildx replay build
Rebuild an image from provenance and pinned materials Docker Buildx reference
14 options Its page in the Docker Buildx reference
Options
--builderOverride the configured builder instance--debug, -DEnable debug logging--dry-runPrint a plan of the replay without solving or exporting--formatFormat dry-run output (pretty \--loadShorthand for --output=type=docker--networkNetwork mode for RUN instructions (default \--output, -oOutput destination (format: type=local,dest=path)--platformPlatform of the subject to replay (defaults to the only platform of the subject or the builder default platform)--progressSet type of progress output (auto \--pushShorthand for --output=type=registry,unpack=false--replay-modeReplay mode (materials \--secretSecret to expose to the replayed build (format: id=mysecret[,src=/local/secret])--sshSSH agent socket or keys to expose (format: default\--tag, -tImage identifier (format: [registry/]repository[:tag])