GithubHelp home page GithubHelp logo

Comments (4)

mgoltzsche avatar mgoltzsche commented on May 29, 2024

The crun binary never was within the tar package because the tar package is based on the regular container image that comes with runc instead of crun as opposed to the container image with the minimal tag that comes with crun.
As a lightweight OCI runtime implementation crun is an alternative to runc. crun is particularly useful when you want to run containers with minimal isolation such as required in very restricted environments or when running nested containers.
I don't think it would make sense to ship both crun and runc with the tar distribution because most of the time users would want to use only one OCI runtime per installation and runc would be way to go for tar users since it is the reference implementation and more feature complete than crun. Correspondingly, while you can use crun with docker, it is not installed with docker by default but runc is. Personally, I am using only runc on my host but crun to run nested containers.
Is runc not sufficient for your host installation use-case? if so, can you describe your use-case?

from podman-static.

ErikJiang avatar ErikJiang commented on May 29, 2024

https://github.com/mgoltzsche/podman-static/blob/v4.9.4/Dockerfile#L166-L181

I noticed the step in the Dockerfile where crun is being downloaded,
so I assumed that crun would also be part of the tar package.
It seems that my understanding was incorrect.
please correct me if I'm wrong. thank you.

from podman-static.

mgoltzsche avatar mgoltzsche commented on May 29, 2024

Both the minimal and the regular image are built from the same Dockerfile. The rootlesspodmanminimal stage/target build is published as the minimal image which contains the crun binary as opposed to the last stage within the Dockerfile that is published as regular image.

from podman-static.

ErikJiang avatar ErikJiang commented on May 29, 2024

@mgoltzsche Thank you for your explanation. 🤝

from podman-static.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.