Skip to content

cAdvisor dies with exec format error #2564

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
dishmael opened this issue May 29, 2020 · 3 comments
Open

cAdvisor dies with exec format error #2564

dishmael opened this issue May 29, 2020 · 3 comments

Comments

@dishmael
Copy link

I cannot seem to get cAdvisor to start up...

sudo docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=8080:8080 \
--name=cadvisor \
google/cadvisor:latest

Which immediately exits with the following:

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

I've searched around but cannot find any reference to this error to understand why the container keeps dying.

@paulfantom
Copy link

You most probably have a CPU architecture mismatch - cAdvisor image aimed at arch X (ex. amd64), but running on host with arch Y (ex. arm).

@dishmael
Copy link
Author

yep, I think you might be right. 🤦

@fuomag9
Copy link

fuomag9 commented Jan 3, 2021

Use this one, should work #1236 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants