-
Notifications
You must be signed in to change notification settings - Fork 92
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
New DockerHub Image retention policies will delete unused images after 6 months #121
Comments
noting some alternatives to dockerhub:
|
also now github 'packages' is now 'github container registry' and seems to be more like the other available options, so would be nice to try that out! https://docs.github.com/en/packages/guides/about-github-container-registry @yuvipanda, @consideRatio what are you using for 2i2c these days? |
I am trying out sending people to quay.io, run by RedHat (so IBM) - see jupyterhub/repo2docker-action#60. But I think the way to do it now is to just push it to everything - dockerhub, quay.io, github registry, etc. If we match tags and names, should offer some protection against future issues. |
Following #379, I was unable to pull the latest
However, I was:
@yuvipanda suggested this second point indicates that egress limits places on the free |
Just created https://quay.io/organization/pangeo and added @yuvipanda as a member. We can easily push images there as well, but I probably wouldn't get around to it until next week... |
Thanks a lot, @scottyhq :D Once you push that through we'll start using those as the default. |
Ran into trouble pushing the larger ML images to quay.io ("no space left on device" since images are ~10GB and in theory available disk space is just 14GB)...
https://github.com/pangeo-data/pangeo-docker-images/actions/runs/3251827256/jobs/5337356216 |
Try putting this in the GitHub Actions workflow, see https://github.com/2i2c-org/hub-user-image-template/blob/d6f7d4f42ba4ce9275321f5b3b3d084d8b1fae1a/.github/workflows/build.yaml#L13-L21 and actions/runner-images#2606 (comment)
|
Add the following which frees up ~14GB of additional space pangeo-docker-images/.github/workflows/Build.yml Lines 78 to 84 in 3b4c8fe
Pushing to quay.io appears to be quite slow. Building and pushing ml-notebook to DockerHub takes 19min, and then pushing the built image to quay.io takes 18min. Not too concerned with time since we're not building images all the time, but there probably is some way to speed that up... After more closely reading https://github.com/redhat-actions/push-to-registry It seems podman is quite different from Docker and a better strategy is probably not to use podman at all and simply use the docker github action to push to multiple recipes https://github.com/docker/build-push-action/blob/master/docs/advanced/push-multi-registries.md ! |
Even the Publish workflow of retagging to 'latest' and But, leaving it for now! @yuvipanda @cisaacstern you can now pull |
\o/ thanks a lot, @scottyhq! |
https://www.docker.com/pricing/resource-consumption-updates
Starting November 2020, Images untouched for 6 months will be scrubbed.
On one hand, this isn't an issue because this repository stores the complete configuration needed to build any previously tagged image. But eventually someone might want to reproduce a study from a year ago and hit an 'image not found' error.
There are some options... 1) Pangeo has it's own pro Docker account. 2) Start pushing copies of the image to GitHub Packages via an Action.
cc @jhamman @rabernat @salvis2 @TomAugspurger @tjcrone
The text was updated successfully, but these errors were encountered: