resticprofile
resticprofile copied to clipboard
Docker: missing support for ARM devices
I've just tried to use resticprofile Docker image on Raspberry Pi and here is what happend:
$ docker run -it --rm -v /tmp/resticprofile_conf/:/resticprofile -v /mnt/raid1/data:/datatobackup creativeprojects/resticprofile backup
Unable to find image 'creativeprojects/resticprofile:latest' locally
latest: Pulling from creativeprojects/resticprofile
df9b9388f04a: Pull complete
8d7f10d73469: Pull complete
f313f24abbc2: Pull complete
9fd1dd41d754: Pull complete
Digest: sha256:29a840fb551515f702abc98546de0feeafafef68d910036a414a2679d4997030
Status: Downloaded newer image for creativeprojects/resticprofile:latest
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:228: exec user process caused: exec format error
Seems like your project need to be compiled specifically for ARM?
That's right, for now goreleaser only makes the amd64 version. I'll update the configuration to also build and push an arm64 version
@piotrek-k Starting from next release (v0.18.0) the tag latest will be published for both platforms.
But in the meantime, I've pushed a temporary version manually under the tag 0.17.0-arm64v8
You can get it with
docker pull creativeprojects/resticprofile:0.17.0-arm64v8
Now available in v0.18.0 (https://github.com/creativeprojects/resticprofile/releases/tag/v0.18.0)