Code Monkey home page Code Monkey logo

Comments (6)

cpuguy83 avatar cpuguy83 commented on June 4, 2024 1

I'm not sure I understand if there are no errors seen what is the issue?

As I mentioned before, this is working as intended.
See GHSA-7452-xqpj-6rpc

from moby.

cpuguy83 avatar cpuguy83 commented on June 4, 2024

The permissions look to be exactly as intended.
We do not want the remapped user to own files in /var/lib/docker.
We do want to allow members of the remap group to traverse into certain directories because it is necessary for the remapped container to function.

Are you experiencing a particular issue?

from moby.

belotv avatar belotv commented on June 4, 2024

from moby.

cpuguy83 avatar cpuguy83 commented on June 4, 2024

Docs are outdated for sure.

What's the exact command you are trying to perform and the error you are seeing?

from moby.

belotv avatar belotv commented on June 4, 2024

Based on the information shared, I guess the issue is mainly that documentation from both docker and freeipa is not very clear and not fully up-to-date.

I was able to make it work by removing the /sys/fs/cgroup:/sys/fs/cgroup:rw mapping. Even if it may seems a bit weird, the scope will be properly created under the system.slice and will work as expected.
(I also unset cgroup and cgroup_parent in my Docker compose file, so that it uses the default system.slice).

I guess it is complex to maintain documentation that properly cover docker root/root with namespace remap/rootless, with both cgroupv1 and v2 to handle.

I will close the ticket as it does not seem to be a system function bug.

from moby.

kylhuk avatar kylhuk commented on June 4, 2024

@cpuguy83 I was mislead by a non-official guide. Thank you very much for pointing me in the right direction!

from moby.

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.