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

Find a substitute for dockerhub #997

Open
stweil opened this issue Mar 14, 2023 · 10 comments
Open

Find a substitute for dockerhub #997

stweil opened this issue Mar 14, 2023 · 10 comments

Comments

@stweil
Copy link
Contributor

stweil commented Mar 14, 2023

Announced today: " Docker is sunsetting Free Team organizations". That means that https://hub.docker.com/u/ocrd "will be suspended on April 14, 2023 (11:59 pm UTC). Upgrade your subscription before April 14, 2023 to continue accessing your organization."

The subscription is not cheap, so I am afraid that OCR-D cannot stay there. Therefore a substitute is required, and much documentation and some code (scripts) has to be updated.

@stweil
Copy link
Contributor Author

stweil commented Mar 14, 2023

Possible container repository alternatives:

  • GitHub, (currently) free
  • self hosted Gitlab
  • self hosted Gitea (first test at UB Mannheim was successful)
  • ... and many more

@bertsky
Copy link
Collaborator

bertsky commented Mar 14, 2023

  • GitHub, (currently) free

I recommend this for now. It's fairly easy to setup on Github Actions and has a nice UI integration (packages on the right, replacing Dockerhub, with versions directly tied to commits). The only change on the user side would be the additional qualifier on the image name (i.e. ghcr.io/ocrd/... instead of ocrd/...).

@stweil
Copy link
Contributor Author

stweil commented Mar 14, 2023

The additional qualifier is also needed for running container images with podman which would have required docker.io/ocrd/.... For a self hosted Gitea it would be something like code.bib.uni-mannheim.de/ocrd/....

I also think that using GitHub as the new container repository is the easiest way to go. My only concern is that Microsoft won't offer that service for free forever.

@kba
Copy link
Member

kba commented Mar 15, 2023

Agreed, let's switch over to the GiHub container registry. @lena-hinrichsen OCR-D/ocrd-website#317 we should fix the documentation accordingly.

@stweil
Copy link
Contributor Author

stweil commented Mar 15, 2023

... and copy all existing images from docker.io to ghcr.io? That's a lot of work, but I think that would be helpful.

Maybe there already exist scripts which can copy all container images of an organization.

@kba
Copy link
Member

kba commented Mar 15, 2023

Maybe there already exist scripts which can copy all container images of an organization.

https://gist.github.com/FriendlyUser/b25d11002a46364a99b9c0f442eff6c9 looks like a simple (though time- and space-intensive) way to do that.

@kba
Copy link
Member

kba commented Mar 15, 2023

Maybe there already exist scripts which can copy all container images of an organization.

https://gist.github.com/FriendlyUser/b25d11002a46364a99b9c0f442eff6c9 looks like a simple (though time- and space-intensive) way to do that.

This guide recommends the crane tool which can copy from registries without pulling/pushing.

@stweil
Copy link
Contributor Author

stweil commented Mar 16, 2023

The guide reminds me of an additional problem which probably will occur: base containers which are used for OCR-D might also move away from docker.io. So let's be prepared when that happens.

@stweil
Copy link
Contributor Author

stweil commented Mar 24, 2023

"After listening to the concerns of the community, we’ve decided to reverse course, and are no longer sunsetting the Free Team plan."

@bertsky
Copy link
Collaborator

bertsky commented Mar 24, 2023

Also just picked it up.

That's good, and we got lucky this time, but IMO we should continue the new efforts at diversifying our deployment options. Does not harm to also use GHCR or custom Gitlab servers when available, and write configs and makefiles and documentation a little more flexibly.

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