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

Docker is (no longer 🎉) moving to paid organisations (but still 💭) #482

Closed
mplanchard opened this issue Mar 15, 2023 · 8 comments · Fixed by #521
Closed

Docker is (no longer 🎉) moving to paid organisations (but still 💭) #482

mplanchard opened this issue Mar 15, 2023 · 8 comments · Fixed by #521

Comments

@mplanchard
Copy link
Contributor

See https://blog.alexellis.io/docker-is-deleting-open-source-images/

and https://news.ycombinator.com/item?id=35166317

We use an organization account for pypiserver, so we’ll need to move. GitHub container registry seems like a reasonable choice.

We could probably qualify for docker’s open source program, but it seems like applications are taking over a year to process at the moment.

@dee-me-tree-or-love
Copy link
Member

Hey @mplanchard! Thanks for the heads-up! I've also seen an email passing through, I'm planning to take action sometime this weekend/end of next week 🙌

@dee-me-tree-or-love
Copy link
Member

dee-me-tree-or-love commented Mar 20, 2023

GitHub container registry seems like a reasonable choice.

True! However, there's one catch in GHCR allowing 500MB of Package storage for free tiers. 🤔 I think that's a good move for the time being with the sunset of the Docker Hub's plan getting quite close. Still, we'd need to double-check and calculate our usage forecasts and then consider the support policy for older packages if we want to stay within the limits. I'll still be looking into it. 👍 I think I'll start working on it this week.

I've checked some other container registries but couldn't find another good and affordable option yet.
❤️ Any community ideas are very welcome! 🙌

@dee-me-tree-or-love
Copy link
Member

dee-me-tree-or-love commented Mar 20, 2023

Also, this is a great thought!

We could probably qualify for docker’s open source program, but it seems like applications are taking over a year to process at the moment.

From the Docker's FAQ:

For new users interested in joining DSOS from a previous Free Team organization, we will defer any organization suspension or deletion while the DSOS application is under review.

Besides, to put the timeline to this, the suspension deadline (AFAIU) is: "as of April 13, 2023".

CC @mplanchard

@dee-me-tree-or-love dee-me-tree-or-love added this to the Next Release milestone Mar 20, 2023
@dee-me-tree-or-love
Copy link
Member

dee-me-tree-or-love commented Mar 22, 2023

Update: I made a quick computation of what would be possible if we move to the free tier on the GH Container Registry based on what we have on the Docker Hub registry (currently 10 images), and we'd be limited to approximately 20 (rounded down to the order of 10 & if we don't change much) images in the registry. That'd mean that we will be somewhat limited but will be able to use it productively still.

Computations summary 🧮
# We have 10 images stored at https://hub.docker.com/r/pypiserver/pypiserver/tags
sizes_mb = [
    22.12,
    22.14,
    22.12,
    22.07,
    19.07,
    18.66,
    18.66,
    34.18,
    19.48,
    19.49, 
]
count = len(sizes_mb)
total = sum(sizes_mb)
avg = total / count
print(avg)
# 21.799
cap = 500
fit = cap / avg
print(fit)
# 22.936831964769027
print(fit // 10 * 10)
# 20

So: I think that it is

  1. a good idea to start using GHCR in any case as a backup/parallel storage solution,
  2. still apply for the Open-Source program at Docker Hub to maintain the original way of working and distribution.

I'll try to work on this in the coming weeks :)

Any comments and suggestions are very welcome! ✌️

@dee-me-tree-or-love
Copy link
Member

dee-me-tree-or-love commented Mar 22, 2023

Btw, just for reference, this appears to be a related discussion area on the Docker side: docker/hub-feedback#2314

@mplanchard
Copy link
Contributor Author

Hi, sorry for my absence on this. We’re in the process of moving states, which is a lot of work, and it’s been a wildly busy few weeks at work.

Luckily, it looks like Docker has reversed course: https://www.docker.com/blog/no-longer-sunsetting-the-free-team-plan/

Regardless though I agree with your conclusions: we should apply for Docker’s open source program just in case they change their minds again, and pursue GHCR as a backup. Luckily there is now less urgency!

@dee-me-tree-or-love
Copy link
Member

Hey @mplanchard, thanks a lot for the note! Indeed I have also received the news from Docker and that allowed me to get a bit of extra time to breathe as well - it's indeed great to have the urgency off our shoulders 😅 I Hope your moving went well, I can totally imagine it must be quite an effort!

I'm going to continue on this issue indeed as proposed above but in a slightly more relaxed tempo :) I might need to ask for some help from you for double checking as I'll be preparing all the checklists for the DSOS program but I'll keep you posted 🙌

@dee-me-tree-or-love dee-me-tree-or-love changed the title Docker moving to paid organizations Docker is (no longer 🎉) moving to paid organisations (but still worth checking 💭) Apr 10, 2023
@dee-me-tree-or-love dee-me-tree-or-love changed the title Docker is (no longer 🎉) moving to paid organisations (but still worth checking 💭) Docker is (no longer 🎉) moving to paid organisations (but still 💭) Apr 10, 2023
@dee-me-tree-or-love dee-me-tree-or-love pinned this issue Apr 10, 2023
@dee-me-tree-or-love
Copy link
Member

For future reference, consider this discussion about cleaning up the untagged images https://github.com/orgs/community/discussions/26716

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants