Skip to content

Containers using images built on Apple Silicon FAIL to boot #13

@ziopio

Description

@ziopio

Bug encountered by Peer while testing on an M3 Mac.

The image was built on a braidnode project in the usual way

    rebar3 docker build
    docker push local/my_app grisp/my_app

Strange crash on braidnet:

2024-02-20T19:47:42.124 app[e784e666f0d778] nrt [info] 2024-02-20T19:47:42.123996+00:00 [debug] Container <<"d707b03f-9727-4ca9-b4dd-5426da907312">>: WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested

2024-02-20T19:47:42.207 app[e784e666f0d778] nrt [info] 2024-02-20T19:47:42.206705+00:00 [debug] Container <<"d707b03f-9727-4ca9-b4dd-5426da907312">>: exec /opt/foo/bin/foo: exec format error

2024-02-20T19:47:42.242 app[e784e666f0d778] nrt [info] 2024-02-20T19:47:42.241390+00:00 [debug] Container <<"d707b03f-9727-4ca9-b4dd-5426da907312">>, terminated with code 1 for reason: unknown

2024-02-20T19:47:42.242 app[e784e666f0d778] nrt [info] 2024-02-20T19:47:42.241540+00:00 [error] Generic server <0.5359.0> terminating. Reason: unknown. Last message: {#Port<0.2302>,{exit_status,1}}. State: {state,<<"d707b03f-9727-4ca9-b4dd-5426da907312">>,#Port<0.2302>}. 

Metadata

Metadata

Assignees

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