From b606ae97159dfc947ec01ac2e9ed8287670339ea Mon Sep 17 00:00:00 2001 From: Ricardo Pardini Date: Thu, 15 Dec 2022 20:17:20 +0100 Subject: [PATCH] armbian-next: `docker`: fix when using `buildx`, always pass `--load` so produced image is actually available to Docker proper --- lib/functions/host/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions/host/docker.sh b/lib/functions/host/docker.sh index 31fb7a263c..d8df1f42b0 100755 --- a/lib/functions/host/docker.sh +++ b/lib/functions/host/docker.sh @@ -151,7 +151,7 @@ function docker_cli_prepare() { declare -g -a DOCKER_BUILDX_OR_BUILD=("build") if [[ -n "${DOCKER_BUILDX_VERSION}" ]]; then DOCKER_HAS_BUILDX=yes - DOCKER_BUILDX_OR_BUILD=("buildx" "build" "--progress=plain") + DOCKER_BUILDX_OR_BUILD=("buildx" "build" "--progress=plain" "--load") fi display_alert "Docker has buildx?" "${DOCKER_HAS_BUILDX}" "debug"