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

Restic REST-Server Image for ARM-Architectures on Docker-Hub #125

Closed
AxelRHD opened this issue Oct 13, 2020 · 12 comments · May be fixed by #144
Closed

Restic REST-Server Image for ARM-Architectures on Docker-Hub #125

AxelRHD opened this issue Oct 13, 2020 · 12 comments · May be fixed by #144

Comments

@AxelRHD
Copy link

AxelRHD commented Oct 13, 2020

Output of rest-server --version

REPOSITORY TAG IMAGE ID CREATED SIZE
restic/rest-server 0.10.0 3598be715f32 4 weeks ago 14.1MB

What should rest-server do differently?

Server does everything right. But it would be great if there was an ARM image (Raspberry Pi 4 architecture) on DockerHub.

What are you trying to do? What is your use case?

Running Restic REST Server on Raspberry Pi (or other SBC) via Docker Contaier.

Did rest-server help you today? Did it make you happy in any way?

Of course! It is the best way for me to backup all my different SBCs to a central server. This server is now an AMD64 System, but I want to replace it with a SBC also.

Thank you for your great work!

@josvo josvo mentioned this issue Mar 19, 2021
7 tasks
@0xERR0R
Copy link

0xERR0R commented Sep 24, 2021

Hi, sorry for bothering you, I see, there is a open PR and no progress with this issue. Is there something which must be fixed? I forked the repo and was able to build multi-arch image with just one new action job (0xERR0R@b4734e0). But it is only a workaround, I'd like to use the official image and it would be great if you would merge the PR or give some feedback.

@fdw
Copy link

fdw commented Mar 20, 2022

Maybe @0xERR0R or @ngosang could open a PR to add the missing GitHub action to build for ARM architectures? Or would that not be enough?

@ngosang
Copy link

ngosang commented Mar 20, 2022

It's hard to test a GitHub action without admin permissions. The owner can copy my actions => https://github.com/ngosang/docker-amule/blob/master/.github/workflows/release-docker.yml#L49

@myxor
Copy link

myxor commented Sep 20, 2022

Is there any progress on this?

@axeleroy
Copy link

Well, there is PR #144 that was opened and not updated for the past year or so. What's left to do is to remove the Dockerfile (which was updated in another PR) and for the owner of the restic Docker Hub account to create an access token and to fill it into the GitHub project's secrets.

In the meantime, you can build the image locally on your ARM-powered host (no dependencies other than docker and git are required)

# This command will clone the repo in a temporary folder and build from the Dockerfile
docker build -t restic/rest-server:latest-arm github.com/restic/rest-server

Then you will be able to launch the rest-server from the restic/rest-server:latest-arm tag.

@ngosang
Copy link

ngosang commented Dec 6, 2022

I built and published my own image with support for 7 architectures. I will maintain it for now, but I would prefer that at some point the official Docker image includes support for multi-arch so I don't have to maintain it. Fell free to copy anything you need from my repository.

@ItalyPaleAle
Copy link

I'd be happy to contribute an updated PR for this if the maintainers are open to review it. I have extensive experience building Actions that publish multi-arch Docker images.

I would also like to see the image published to both Docker Hub and GitHub Packages, since Docker Hub severely rate-limits pulls (and as someone behind CGNAT, that is very bad for me).

@fd0
Copy link
Member

fd0 commented May 14, 2023

I've pushed images for multiple architectures, can somebody please tell me if we need to do anything else? :)

@ngosang
Copy link

ngosang commented May 21, 2023

Thank you. As final request it would be nice if you publish all architectures under the latest/0.12.0 tags.

Example: https://hub.docker.com/r/ngosang/restic-rest-server/tags
image

@py-crash
Copy link

The image appears to be working on my pi. Thank you for releasing it.

However, the point expressed by @ngosang is important because the need of a tagged version carries some problems:

  • The explanations in the README don't work for the pi, because the tag needed is not latest but 0.12.0-arm64v8 (for the pi)
  • It forces checking manually (or with an RSS reader) if a new version is available, instead of the simple pull used by other images.

@MichaelEischer
Copy link
Member

MichaelEischer commented May 29, 2023

The latest and 0.12.0 tags now contain a container manifest that combines the containers for the different architectures. For future releases, the updated goreleaser setup should create them automatically.

@ngosang
Copy link

ngosang commented Oct 14, 2023

I archived my project. I'm recommending the official Docker image. Thank you!
https://github.com/ngosang/docker-restic-rest-server

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

Successfully merging a pull request may close this issue.

10 participants