Skip to content

Commit

Permalink
Merge pull request containers#8237 from vorburger/patch-1
Browse files Browse the repository at this point in the history
Add tip re. typical root cause of "Exec format error" to troubleshooting.md
  • Loading branch information
openshift-merge-robot authored Nov 4, 2020
2 parents 0a0988e + 99df7c9 commit dfecb48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

0 comments on commit dfecb48

Please sign in to comment.