GithubHelp home page GithubHelp logo

Comments (4)

rhatdan avatar rhatdan commented on July 21, 2024

Have you looked at Nulecule at all? Not sure if that fixes some of you concerns or raises more concerns.

Originally our ideas around using INSTALL/UNINSTALL was to give the developer the equivalent of
rpm Post/Postun. Capabilities. To allow a developer easy way to install his software container.

I wanted to get something out quick so we went with embedding the command to launch the container into the container metadata. But I think we should allow for more flexibility so that you could launch the container image with multiple container frame works, docker/rkt/systemd-nspawn/lxc ...

I do feel that going to far away from bash could be problematic from a ease of use.

BTW @cgwalters probably agrees with you.

from containerapplicationgenericlabels.

rhatdan avatar rhatdan commented on July 21, 2024

Right now translating complex docker run/create commands into MetaData is going to be difficult.

docker run -d --cap-add=sys_time ntpd

Perhaps an easy mechanism for developers to write multiple launch commands and allow the tooling to pick the appropriate one for it.

install_docker docker run -d --cap-add=sys_time ntpd
install_rkt rkt ...
...

from containerapplicationgenericlabels.

cgwalters avatar cgwalters commented on July 21, 2024

I think things like --cap-add could be expressed declaratively.

And I really want to drop the necessity for an app to implement UNINSTALL. There should be the equivalent of make install DESTDIR= which would allow a host side system to enumerate and track the files installed. This would make things a lot more reliable rather than needing image authors to precisely undo what they did.

from containerapplicationgenericlabels.

philips avatar philips commented on July 21, 2024

My concern is less about the runtime but that every distro has these crazy quirks and that instead of making a full turing complete script perhaps there are a subset of operations that an "install" needs to do and we identify those instead.

For example, over the last 18 months I have probably helped close out 5 or more PRs to the docker systemd service files upstream that rely on debian or fedora specific environment files. People have a very poor sense of what is distro specific and what isn't.

from containerapplicationgenericlabels.

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.