buildx(history): update docker daemon requirement message

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2024-07-30 15:55:52 +02:00
parent 11c483e5c9
commit 05e3bb5b86
No known key found for this signature in database
GPG Key ID: ADE44D8C9D44FBE4

View File

@ -51,7 +51,7 @@ export class History {
throw new Error('Docker is required to export a build record'); throw new Error('Docker is required to export a build record');
} }
if (!(await Docker.isDaemonRunning())) { if (!(await Docker.isDaemonRunning())) {
throw new Error('Docker daemon is not running, skipping build record export'); throw new Error('Docker daemon needs to be running to export a build record');
} }
if (!(await this.buildx.versionSatisfies('>=0.13.0'))) { if (!(await this.buildx.versionSatisfies('>=0.13.0'))) {
throw new Error('Buildx >= 0.13.0 is required to export a build record'); throw new Error('Buildx >= 0.13.0 is required to export a build record');