Skip to content
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

Show arch warnings #52

Open
mdales opened this issue Jun 20, 2024 · 1 comment
Open

Show arch warnings #52

mdales opened this issue Jun 20, 2024 · 1 comment

Comments

@mdales
Copy link
Collaborator

mdales commented Jun 20, 2024

I just the better part of an hour because shark didn't show me a warning that docker would.

In shark I saw:

[1min22s] [INFO] application Exec "runc" "--root" "/mwd-life2/state/sandbox" "run" "7"
cannot open 'daintree/mwd-life2/result/9c646c2ab80e70042cfa94ce1fba1d28b765c388e20976a65c1d27b9bf149d77@snap': dataset does not exist
BUILD FAILED: "/usr/bin/env" "bash" "-c" "mkdir -p /data/habitat/" failed with exit status 1
exec /usr/bin/env: no such file or directory

And I spent a bunch of time trying to work out why there was no /usr/bin/env in my container.

Eventually I ran the container in docker directly and there I see:

 $  docker run --rm carboncredits/zenodo-download /usr/bin/env /bin/bash                                                                                                                                                                                                                                                                                           WARNING: The requested image's platform (linux/arm64/v8) does not match the detected host platform (linux/amd64/v4) and no specific platform was requested
exec /usr/bin/env: no such file or directory

And then it's immediately obvious - I uploaded the container built on my Mac, not on Linux.

@avsm
Copy link
Collaborator

avsm commented Jun 20, 2024

so this is stderr from docker execution isn't it; not just arch warnings.

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

2 participants