Giter VIP home page Giter VIP logo

Comments (9)

criscola avatar criscola commented on July 25, 2024 1

Should have mentioned I didn't yet install it :) probably makes sense to do that before installing the cri.

from cri-dockerd.

evol262 avatar evol262 commented on July 25, 2024 1

Yes, they do, which is typically provided by docker. The reason there isn't a dependency on Docker is that there is no metapackage/requirement shared by docker-ce/docker-ee/docker-io/etc. We could at least create the group if it isn't present, because cri-docker.service depends on docker.service (which is consistent across packages), which still provides a runtime dependency.

from cri-dockerd.

afbjorklund avatar afbjorklund commented on July 25, 2024

I don't think it has been tested with anything, except for the regular installation from a deb.

https://docs.docker.com/engine/install/ubuntu/

It might be supported with "docker.io", not sure ? (system, as in sudo apt install docker.io)

https://packages.ubuntu.com/jammy/docker.io

from cri-dockerd.

afbjorklund avatar afbjorklund commented on July 25, 2024

If it comes to it, it would be possible to remove "cri-docker.socket" and modify "cri-docker.service" to run without it.

Requires=cri-docker.socket

ExecStart=/usr/bin/cri-dockerd --container-runtime-endpoint fd:// --network-plugin=

That would make cri-dockerd start on boot, and not on demand, but might work better with odd docker installations.

from cri-dockerd.

evol262 avatar evol262 commented on July 25, 2024

This is probably something to speak to the snap maintainer about. How do users get permissions to run docker commands with the snap?

from cri-dockerd.

folarinmartins avatar folarinmartins commented on July 25, 2024

@evol262 Good point. That's an issue you can raise over at snap

from cri-dockerd.

criscola avatar criscola commented on July 25, 2024

FYI this happened to me as well on ubuntu 20.04, I had to add group docker (no snap installation)

from cri-dockerd.

afbjorklund avatar afbjorklund commented on July 25, 2024

How did you install docker? The (deb) packages should have added the "docker" group

from cri-dockerd.

afbjorklund avatar afbjorklund commented on July 25, 2024

It seems that the cri-dockerd packages have a dependency on containerd instead of dockerd...

from cri-dockerd.

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.