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

Have you considered reaching out to the containers group? #30

Closed
ericcurtin opened this issue Mar 16, 2024 · 10 comments
Closed

Have you considered reaching out to the containers group? #30

ericcurtin opened this issue Mar 16, 2024 · 10 comments

Comments

@ericcurtin
Copy link

ericcurtin commented Mar 16, 2024

People like @rhatdan ? etc.

Some artefacts are listed here like:

  • AdBlocker metadata
  • Firmware update metadata
  • Remote metadata for update frameworks, e.g. apt-get/dnf

But some really meaty artefacts that could really benefit from this are OCI images in a data-centre, to put less reliance on centralized OCI registries.

There are some solutions out there that do this:

https://github.com/uber/kraken

but I think passim could be a nice opinionated one for all solution for rpms, OCI images (which are a huge family of different artefacts in itself like bootable containers). Could be a great solution for many different artefacts in Fedora, I think OCI images could potentially benefit the most because their scope is large and hence OCI images get large.

@ericcurtin
Copy link
Author

Nevermind I see there is awareness of this from #11

@hughsie
Copy link
Owner

hughsie commented Mar 16, 2024

Yes, I think this is a valid usecase too. I did really want this included in Fedora 40 and used in anger a bit before trying to support more usecases. If the F40 rollout goes smoothly I think it's worth talking to other groups and getting some additional input. I think it's important to be a zero-configuration feature to be useful, and that sure makes it divisive.

@ericcurtin
Copy link
Author

ericcurtin commented Mar 16, 2024

We are looking for ways to cut down on bandwidth costs in IoT as I sent in email, specifically in Automotive, much harder problem because of issues like this you highlighted at a global network scale:

"ITAR/EAR legal considerations"

but it's something I have in the back of my mind as the concern (about cloud costs) is there. A local solution like this is a great start at least 😄

@ericcurtin
Copy link
Author

ericcurtin commented Mar 16, 2024

divisive

Ah well... Configurable on or off solves this right 😄

Like it/don't like it install/uninstall, configure, etc.

@hughsie
Copy link
Owner

hughsie commented Mar 16, 2024

ITAR/EAR legal considerations

This is actually pretty good at solving "this should never leave the site" use-cases too -- if mDNS/Passim port is blocked on the firewall then the image can't escape.

@ericcurtin
Copy link
Author

divisive

Ah well... Configurable on or off solves this right 😄

Like it/don't like it install/uninstall, configure, etc.

And I know what you mean by zero-configuration, it should just be able to find other hosts :)

I mean turn it on/off

@ericcurtin
Copy link
Author

ericcurtin commented Apr 13, 2024

One use-case where passim could be useful with containers is local within a device itself, this seems silly at first but there are use-cases where this makes sense. Here is one I just encountered. I just ran a rootless "podman run", after waiting ~20 minutes for the pull, the container ran, once it ran, I realised rootless wasn't enough privileges, so I had to do "sudo podman run", now I'm waiting another 20 minutes on a slow connection I'm currently on.

While it might not necessarily make sense to share rootful and rootless container stores by default. I think it does make sense if a tool like passim realised that we need not download the whole container image again on the internet.

@hughsie
Copy link
Owner

hughsie commented Apr 15, 2024

after waiting ~20 minutes for the pull

Is the "container" one big blob on disk or bazillions of tiny files? Passim is really optimised for the "few big blob" usecases.

@ericcurtin
Copy link
Author

after waiting ~20 minutes for the pull

Is the "container" one big blob on disk or bazillions of tiny files? Passim is really optimised for the "few big blob" usecases.

It depends I guess 😅

@ericcurtin
Copy link
Author

after waiting ~20 minutes for the pull

Is the "container" one big blob on disk or bazillions of tiny files? Passim is really optimised for the "few big blob" usecases.

It depends I guess 😅

I don't think podman pulls, etc. ever pull bazillions of layers at once it's seems to pull like 3 max at once, but I don't know the lower level details.

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

2 participants