Skip to content

Docker image does not run on arm64 architectures #128

@dennisvang

Description

@dennisvang

Trying to deploy the trainhandler-client docker image to an Ampere Altra instance (arm64 architecture), we get the following:

trainhandler-client-1 | exec /usr/local/bin/docker-entrypoint.sh: exec format error

Although the exec format error can also be caused by e.g. whitespace or header errors in the script, that is not the case here, because the image runs fine on x86.

Moreover, it looks like the image was not built with multi-platform support (buildx):

docker build -t ${PRIVATE_IMAGE#/}:$GITHUB_SHA .

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