Skip to content

standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Stretch) #300

Open

Description

@kianrafiee

The docker container starts up and exits immediately.

docker log for container shows:

standard_init_linux.go:195: exec user process caused "exec format error"

I have already done:
cgroup_enable=memory swapaccount=1

Activity

  1. changed the title [-]standard_init_linux.go:195: exec user process caused "exec format error" (Raspberry Pi Stretch)[/-] [+]standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Pi Stretch)[/+] on Mar 19, 2018
  2. changed the title [-]standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Pi Stretch)[/-] [+]standard_init_linux.go:195: exec user process caused "exec format error" (Raspbian Stretch)[/+] on Mar 19, 2018
  3. jeremiahbowen commented on Jul 15, 2022

    @jeremiahbowen

    You will need to add this to your docker file FROM --platform=linux/amd64 or update your command docker buildx build --platform=linux/amd64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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