Re: kata containers: adding a docker runtime
On 9/25/19 8:26 PM, Tomasz Torcz wrote: > On Wed, Sep 25, 2019 at 12:14:54PM +0200, Christophe de Dinechin wrote: >> Hi Lokesh, >> >> >> As you know, I have been working on bringing kata containers to Fedora. >> >> Since this adds a new runtime, the docker.service file would need to be >> modified in order to be able to accommodate extra --add-runtime options. >> >> What approach would you recommend? > There's no Docker in Fedora anymore, so maybe don't bother? > Podman, CRI-O, Buildah should be able to use the kata runtime. If moby-engine, the replacement for DOcker needs wants to use it, then it should add the capability. BTW These are OCI runtimes, non "docker" runtimes. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Re: kata containers: adding a docker runtime
On Wed, Sep 25, 2019 at 12:14:54PM +0200, Christophe de Dinechin wrote: > Hi Lokesh, > > > As you know, I have been working on bringing kata containers to Fedora. > > Since this adds a new runtime, the docker.service file would need to be > modified in order to be able to accommodate extra --add-runtime options. > > What approach would you recommend? There's no Docker in Fedora anymore, so maybe don't bother? -- Tomasz Torcz ,,(...) today's high-end is tomorrow's embedded processor.'' xmpp: zdzich...@chrome.pl -- Mitchell Blank on LKML ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
kata containers: adding a docker runtime
Hi Lokesh, As you know, I have been working on bringing kata containers to Fedora. Since this adds a new runtime, the docker.service file would need to be modified in order to be able to accommodate extra --add-runtime options. Specifically, we would need something like added to the command line: --add-runtime kata-runtime=/usr/libexec/kata/kata-runtime \ This would only be added if the kata-runtime package is installed. So what we want is: if you install kata-runtime, then some file is added to the file system that causes the option above to be added to the docker service. Currently, docker.service does not allow this. So we were thinking of adding the ability to read files from /etc/sysconfig/docker/runtimes.d, but I’ve not found any case of a .d directory being processed by a .service file on my systems, so I guess this is not “the right way”. What approach would you recommend? Thanks Christophe ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org