UNCLASSIFIED - NO CUI

Skip to content

registry1.dso.mil/ironbank/bitnami/redis:7.4.2-arm64 doesn't run, failed to open elf at /lib64/ld-linux-x86-64.so.2

Summary

Running registry1.dso.mil/ironbank/bitnami/redis:7.4.2-arm64 (on an arm64 Mac) generate rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2

Steps to reproduce

on a arm64 mac, and probably other arm devices docker run -e ALLOW_EMPTY_PASSWORD=yes registry1.dso.mil/ironbank/bitnami/redis:7.4.2-arm64

What is the current bug behavior?

Image files to start generate rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2

What is the expected correct behavior?

to start up successfully

Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)

Possible fixes

https://repo1.dso.mil/dsop/bitnami/redis/-/blob/development/Dockerfile.arm64?ref_type=heads#L7

You are copying binary from registry1.dso.mil/ironbank/opensource/redis/redis7:7.4.2 but that image only comes with amd64 build !

that's how you get binary with wrong architecture into your image.

I think if you pulled redis binary from dockerhub, repo with both amd64/arm64 image, you would fix this problem

Tasks

  • Bug has been identified and corrected within the container

Please read the Iron Bank Documentation for more info

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information