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.
I just the better part of an hour because shark didn't show me a warning that docker would.
In shark I saw:
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:
And then it's immediately obvious - I uploaded the container built on my Mac, not on Linux.