From 99df7c93361a4c19ea8ebf112c3353447d79befd Mon Sep 17 00:00:00 2001 From: Michael Vorburger ⛑️ Date: Tue, 3 Nov 2020 22:50:16 +0100 Subject: Add tip re. typical root cause of "Exec format error" to troubleshooting.md Signed-off-by: Michael Vorburger --- troubleshooting.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/troubleshooting.md b/troubleshooting.md index c42afb642..2e0abae21 100644 --- a/troubleshooting.md +++ b/troubleshooting.md @@ -680,3 +680,9 @@ file `/etc/systemd/system/user@.service.d/delegate.conf` with the contents: After logging out and loggin back in, you should have permission to set CPU limits. + +### 26) `exec container process '/bin/sh': Exec format error` (or another binary than `bin/sh`) + +This can happen when running a container from an image for another architecture than the one you are running on. + +For example, if a remote repository only has, and thus send you, a `linux/arm64` _OS/ARCH_ but you run on `linux/amd64` (as happened in https://github.com/openMF/community-app/issues/3323 due to https://github.com/timbru31/docker-ruby-node/issues/564). -- cgit v1.2.3-54-g00ecf