←back to thread

123 points cl3misch | 5 comments | | HN request time: 1.452s | source
Show context
mrbluecoat ◴[] No.44387820[source]
Great to see Apptainer getting some attention. It generally excels over other container options (like Docker and Podman) in these scenarios:

- Need to run more than one activity in a single container (this is an anti-pattern in other container technologies)

- HPC (and sometimes college) environments

- Want single-file distribution model (although doesn't support deltas)

- Cryptographically sign a SIF file without an external server

- Robust GPU support

replies(2): >>44388476 #>>44393660 #
1. actinium226 ◴[] No.44388476[source]
> Want single-file distribution model (although doesn't support deltas)

You can achieve that with docker by `docker save image-name > image-name.tar.gz` and `docker load --input image-name.tar.gz`.

It likewise doesn't support deltas but there was a link here on HN recently to something called "unregistry" which allows for doing "docker push" to deploy an image to a remote machine without a registry, and that thing does take deltas into account.

replies(1): >>44390581 #
2. lotharcable ◴[] No.44390581[source]
OCI image repositories are pretty ubiquitous nowadays and are trivial to setup.

I am sure that a lot of people have them deployed and don't even realize it. If you are using Gitea, Gitlab, Github, or any of their major forks/variations of you probably already have a place to put your images.

So I really don't know what the advantage of 'single file distribution model' is here.

This is probably why people don't bother sharing tarballs of docker images with one another even though it is has been a option this entire time.

replies(1): >>44393225 #
3. actinium226 ◴[] No.44393225[source]
If you're sharing with lots of people registries are great.

If you're deploying to a server, I don't see a point in setting up a registry, regardless of how trivial it is. It seems even more trivial to just send the deployment package to the server.

replies(1): >>44402515 #
4. lotyrin ◴[] No.44402515{3}[source]
You say "the" server as if it were a single long-lived host? I haven't had a deployment target like that in almost 20 years. My world is ephemeral and redundant so putting things into a registry where they can be pulled from as needed tends to be the option.
replies(1): >>44404770 #
5. homebrewer ◴[] No.44404770{4}[source]
Lots of places run like you did 20 years ago and have no reason to introduce unnecessary complexity where it is not needed. The world I'm living in mostly uses dedicated servers and most projects I work with have better uptime and performance than the average unicorn running on k8s (or whatever the latest fad is). I imagine GP has similar experience.