<#20520 Docker image_id missing from docker.docker...
# github-notifications
c
#20520 Docker image_id missing from docker.docker-info.json under buildx &amp; containerd_snapshotter Issue created by chris-smith-zocdoc Describe the bug When enabling buildx support as described in https://www.pantsbuild.org/2.19/docs/docker#buildx-support with
containerd-snapshotter: true
, the
docker.docker-info.json
is missing the
image_id
field in the output. Its set to
<missing>
Pants version
2.19.0
OS MacOS Additional info Example
docker.docker-info.json
Copy code
{
  "version": 1,
  "image_id": "<unknown>",
  "registries": [
    {
      "alias": null,
      "address": "[redacted]",
      "repository": "my_app",
      "tags": [
        {
          "template": "latest",
          "tag": "latest",
          "uses_local_alias": false,
          "name": "[redacted]/my_app:latest"
        }
      ]
    }
  ]
}
Relevant logs from the build
Copy code
#9 exporting to image
#9 exporting layers done
#9 exporting manifest sha256:7802087e8e0801f6451d862a00a6ce8af3e4829b09bc890dea0dd2659c11b25a done
#9 exporting config sha256:c83bed954709ba0c546d66d8f29afaac87c597f01b03fec158f3b21977c3e143 done
#9 exporting attestation manifest sha256:399891f9628cfafaba9e034599bdd55675ac0a3bad38151ed1ebf03993669545 done
#9 exporting manifest list sha256:b2b51838586286a9e544ddb31b3dbf7f6a99654d275b6e56b5f69f90138b4c0e done
#9 naming to <registry>/my_app:latest done
#9 unpacking to <registry>/my_app:latest done
#9 DONE 0.0s
The output under this configuration doesn't match either of the regexes listed in package_image.py So this results in a non-match. Would the fix be to include an additional regex for
exporting manifest list sha256:
? pantsbuild/pants