Skip to content

multi-platform nil result build fails with "no build info found for provenance" #3204

@cowwoc

Description

@cowwoc

Contributing guidelines

I've found a bug and checked that ...

  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

When I run buildx-v0.24.0.windows-amd64.exe build --platform linux/amd64,linux/arm64 --output type=tar,dest=somefile.tar . I get the error mentioned below. I get the same error if I use --output type=local. The error disappears if I only build for one platform at a time.

Expected behaviour

The build should succeed, or provide a better error message explaining what went wrong.

Actual behaviour

Build fails with: ERROR: failed to solve: no build info found for provenance linux/amd64

Buildx version

0.24.0

Docker info

Client:
 Version:    28.1.1
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  ai: Docker AI Agent - Ask Gordon (Docker Inc.)
    Version:  v1.1.7
    Path:     C:\Program Files\Docker\cli-plugins\docker-ai.exe
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.23.0-desktop.1
    Path:     C:\Program Files\Docker\cli-plugins\docker-buildx.exe
  cloud: Docker Cloud (Docker Inc.)
    Version:  v0.3.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-cloud.exe
  compose: Docker Compose (Docker Inc.)
    Version:  v2.36.0-desktop.1
    Path:     C:\Users\Gili\.docker\cli-plugins\docker-compose.exe
  debug: Get a shell into any image or container (Docker Inc.)
    Version:  0.0.38
    Path:     C:\Program Files\Docker\cli-plugins\docker-debug.exe
  desktop: Docker Desktop commands (Docker Inc.)
    Version:  v0.1.8
    Path:     C:\Program Files\Docker\cli-plugins\docker-desktop.exe
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.2
    Path:     C:\Program Files\Docker\cli-plugins\docker-dev.exe
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.27
    Path:     C:\Program Files\Docker\cli-plugins\docker-extension.exe
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.4.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-init.exe
  mcp: Docker MCP Plugin (Docker Inc.)
    Version:  dev
    Path:     C:\Program Files\Docker\cli-plugins\docker-mcp.exe
  model: Docker Model Runner (Docker Inc.)
    Version:  v0.1.23
    Path:     C:\Users\Gili\.docker\cli-plugins\docker-model.exe
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     C:\Program Files\Docker\cli-plugins\docker-sbom.exe
  scout: Docker Scout (Docker Inc.)
    Version:  v1.18.0
    Path:     C:\Users\Gili\.docker\cli-plugins\docker-scout.exe

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 11
 Server Version: 28.1.1
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 CDI spec directories:
  /etc/cdi
  /var/run/cdi
 Swarm: active
  NodeID: as2dp0q2qrmu4d0ujnwbimqxr
  Is Manager: true
  ClusterID: jehw0f9gdgx5flgjqotk9quh0
  Managers: 1
  Nodes: 1
  Data Path Port: 4789
  Orchestration:
   Task History Retention Limit: 5
  Raft:
   Snapshot Interval: 10000
   Number of Old Snapshots to Retain: 0
   Heartbeat Tick: 1
   Election Tick: 10
  Dispatcher:
   Heartbeat Period: 5 seconds
  CA Configuration:
   Expiry Duration: 3 months
   Force Rotate: 0
  Autolock Managers: false
  Root Rotation In Progress: false
  Node Address: 192.168.65.3
  Manager Addresses:
   192.168.65.3:2377
 Runtimes: nvidia runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da
 runc version: v1.2.5-0-g59923ef
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
 Kernel Version: 5.15.167.4-microsoft-standard-WSL2
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 31.31GiB
 Name: docker-desktop
 ID: 1b4701e4-7636-48b9-a06d-2e79bae42e32
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Labels:
  com.docker.desktop.address=npipe://\\.\pipe\docker_cli
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  ::1/128
  127.0.0.0/8
 Live Restore Enabled: false

WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
WARNING: DOCKER_INSECURE_NO_IPTABLES_RAW is set
WARNING: daemon is not using the default seccomp profile

Builders list

NAME/NODE                                      DRIVER/ENDPOINT     STATUS    BUILDKIT   PLATFORMS
default                                        docker
 \_ default                                     \_ default         running   v0.21.0    linux/amd64 (+3), linux/arm64, linux/arm (+2), linux/ppc64le, (5 more)
desktop-linux*                                 docker
 \_ desktop-linux                               \_ desktop-linux   running   v0.21.0    linux/amd64 (+3), linux/arm64, linux/arm (+2), linux/ppc64le, (5 more)
test                                           docker
 \_ test                                        \_ test            running   v0.21.0    linux/amd64 (+3), linux/arm64, linux/arm (+2), linux/ppc64le, (5 more)
ConfigIT.create                                                    error
ConfigIT.createExistingConfig                                      error
ConfigIT.createNotSwarmManager.manager                             error
ConfigIT.createNotSwarmManager.worker                              error
ConfigIT.get                                                       error
ConfigIT.getMissingConfig                                          error
ConfigIT.getNotSwarmManager                                        error
ConfigIT.list                                                      error
ConfigIT.listEmpty                                                 error
ConfigIT.listNotSwarmManager                                       error
ContainerIT.alreadyStarted                                         error
ContainerIT.alreadyStopped                                         error
ContainerIT.create                                                 error
ContainerIT.createMissing                                          error
ContainerIT.createMultipleAnonymous                                error
ContainerIT.createWithConflictingName                              error
ContainerIT.get                                                    error
ContainerIT.getMissing                                             error
ContainerIT.list                                                   error
ContainerIT.listEmpty                                              error
ContainerIT.start                                                  error
ContainerIT.startMissing                                           error
ContainerIT.stop                                                   error
ContainerIT.stopMissing                                            error
ContainerIT.waitUntilAlreadyStopped                                error
ContainerIT.waitUntilMissingContainerStopped                       error
ContainerIT.waitUntilStopped                                       error
ImageIT.alreadyCreated                                             error
ImageIT.alreadyPulled                                              error
ImageIT.alreadyStarted                                             error
ImageIT.alreadyStopped                                             error
ImageIT.create                                                     error
ImageIT.createMissing                                              error
ImageIT.get                                                        error
ImageIT.getMissing                                                 error
ImageIT.inspect                                                    error
ImageIT.inspectMissing                                             error
ImageIT.list                                                       error
ImageIT.listEmpty                                                  error
ImageIT.pull                                                       error
ImageIT.pullImage                                                  error
ImageIT.pullMissing                                                error
ImageIT.start                                                      error
ImageIT.startAndStop                                               error
ImageIT.startMissing                                               error
ImageIT.stop                                                       error
ImageIT.stopMissing                                                error
manager                                                            error

Cannot load builder ConfigIT.create: error during connect: Head "https://localhost:33425/_ping": dial tcp [::1]:33425: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.createExistingConfig: error during connect: Head "https://localhost:33434/_ping": dial tcp [::1]:33434: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.createNotSwarmManager.manager: error during connect: Head "https://localhost:33427/_ping": dial tcp [::1]:33427: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.createNotSwarmManager.worker: error during connect: Head "https://localhost:33437/_ping": dial tcp [::1]:33437: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.get: error during connect: Head "https://localhost:33424/_ping": dial tcp [::1]:33424: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.getMissingConfig: error during connect: Head "https://localhost:33426/_ping": dial tcp [::1]:33426: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.getNotSwarmManager: error during connect: Head "https://localhost:33440/_ping": dial tcp [::1]:33440: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.list: error during connect: Head "https://localhost:33439/_ping": dial tcp [::1]:33439: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.listEmpty: error during connect: Head "https://localhost:33442/_ping": dial tcp [::1]:33442: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ConfigIT.listNotSwarmManager: error during connect: Head "https://localhost:33445/_ping": dial tcp [::1]:33445: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.alreadyStarted: error during connect: Head "https://localhost:33429/_ping": dial tcp [::1]:33429: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.alreadyStopped: error during connect: Head "https://localhost:33430/_ping": dial tcp [::1]:33430: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.create: error during connect: Head "https://localhost:33435/_ping": dial tcp [::1]:33435: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.createMissing: error during connect: Head "https://localhost:33433/_ping": dial tcp [::1]:33433: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.createMultipleAnonymous: error during connect: Head "https://localhost:33431/_ping": dial tcp [::1]:33431: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.createWithConflictingName: error during connect: Head "https://localhost:33441/_ping": dial tcp [::1]:33441: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.get: error during connect: Head "https://localhost:33443/_ping": dial tcp [::1]:33443: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.getMissing: error during connect: Head "https://localhost:33447/_ping": dial tcp [::1]:33447: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.list: error during connect: Head "https://localhost:33446/_ping": dial tcp [::1]:33446: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.listEmpty: error during connect: Head "https://localhost:33448/_ping": dial tcp [::1]:33448: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.start: error during connect: Head "https://localhost:33449/_ping": dial tcp [::1]:33449: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.startMissing: error during connect: Head "https://localhost:33450/_ping": dial tcp [::1]:33450: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.stop: error during connect: Head "https://localhost:33451/_ping": dial tcp [::1]:33451: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.stopMissing: error during connect: Head "https://localhost:33452/_ping": dial tcp [::1]:33452: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.waitUntilAlreadyStopped: error during connect: Head "https://localhost:33453/_ping": dial tcp [::1]:33453: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.waitUntilMissingContainerStopped: error during connect: Head "https://localhost:33455/_ping": dial tcp [::1]:33455: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ContainerIT.waitUntilStopped: error during connect: Head "https://localhost:33454/_ping": dial tcp [::1]:33454: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.alreadyCreated: error during connect: Head "https://localhost:32932/_ping": dial tcp [::1]:32932: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.alreadyPulled: error during connect: Head "https://localhost:33432/_ping": dial tcp [::1]:33432: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.alreadyStarted: error during connect: Head "https://localhost:32931/_ping": dial tcp [::1]:32931: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.alreadyStopped: error during connect: Head "https://localhost:32929/_ping": dial tcp [::1]:32929: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.create: error during connect: Head "https://localhost:32930/_ping": dial tcp [::1]:32930: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.createMissing: error during connect: Head "https://localhost:32933/_ping": dial tcp [::1]:32933: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.get: error during connect: Head "https://localhost:33422/_ping": dial tcp [::1]:33422: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.getMissing: error during connect: Head "https://localhost:33428/_ping": dial tcp [::1]:33428: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.inspect: error during connect: Head "https://localhost:32934/_ping": dial tcp [::1]:32934: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.inspectMissing: error during connect: Head "https://localhost:32935/_ping": dial tcp [::1]:32935: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.list: error during connect: Head "https://localhost:33436/_ping": dial tcp [::1]:33436: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.listEmpty: error during connect: Head "https://localhost:33423/_ping": dial tcp [::1]:33423: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.pull: error during connect: Head "https://localhost:33438/_ping": dial tcp [::1]:33438: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.pullImage: error during connect: Head "https://localhost:32854/_ping": dial tcp [::1]:32854: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.pullMissing: error during connect: Head "https://localhost:33444/_ping": dial tcp [::1]:33444: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.start: error during connect: Head "https://localhost:32939/_ping": dial tcp [::1]:32939: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.startAndStop: error during connect: Head "https://localhost:32897/_ping": dial tcp [::1]:32897: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.startMissing: error during connect: Head "https://localhost:32940/_ping": dial tcp [::1]:32940: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.stop: error during connect: Head "https://localhost:32941/_ping": dial tcp [::1]:32941: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder ImageIT.stopMissing: error during connect: Head "https://localhost:32942/_ping": dial tcp [::1]:32942: connectex: No connection could be made because the target machine actively refused it.
Cannot load builder manager: error during connect: Head "https://localhost:32991/_ping": dial tcp [::1]:32991: connectex: No connection could be made because the target machine actively refused it.

Configuration

FROM scratch

Build logs

[+] Building 0.1s (2/2) FINISHED                                                                                                                                                                                                                         docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 49B                                                                                                                                                                                                                                      0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                                                          0.0s
ERROR: failed to solve: no build info found for provenance linux/amd64

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions