Skip to content

Troubleshooting

Cannot execute binary file

Issue

When deploying the AIDR image, you receive the message cannot execute binary file: Exec format error.

Resolution

To resolve this issue, use the following:

  • Check the node architecture

    • Run kubectl get nodes -o wide to confirm whether your AKS cluster is using AMD64 or ARM64.
  • Confirm image architecture

    • Inspect the image with docker manifest inspect <image> to see which platforms are included.
    • If the image doesn't match the node architecture, you will need to rebuild or pull the correct variant.
  • Rebuild or swap the helmfile binary

    • Ensure that the helmfile binary in the image is built for the same architecture as your nodes. If not, replace it with a compatible binary in the container.