-
Notifications
You must be signed in to change notification settings - Fork 634
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[doc] Add AppArmor profile setup for rootlesskit on Ubuntu 24.04+ #3820
[doc] Add AppArmor profile setup for rootlesskit on Ubuntu 24.04+ #3820
Conversation
2831b14
to
d9e3658
Compare
2f127d6
to
6045750
Compare
I don't think that the rootless set up tool should invoke
|
ah my bad! I didn't know it was supported by rootlesskit, I will reflect this in the documentation |
6045750
to
7363094
Compare
documentation updated. |
7363094
to
37904a0
Compare
docs/rootless.md
Outdated
sudo systemctl restart apparmor.service | ||
``` | ||
|
||
```console |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
docs/rootless.md
Outdated
@@ -25,6 +25,31 @@ The usage of `containerd-rootless-setuptool.sh` is almost same as [`dockerd-root | |||
|
|||
Resource limitation flags such as `nerdctl run --memory` require systemd and cgroup v2: https://rootlesscontaine.rs/getting-started/common/cgroup2/ | |||
|
|||
#### AppArmor Profile (Ubuntu 24.04+) | |||
|
|||
To ensure `rootlesskit` works on systems with restrictions on unprivileged user namespaces (e.g., Ubuntu 24.04+), you need to set up an AppArmor profile for `rootlesskit`: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not true when rootlesskit
is installed via apt-get
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Introduce documentation for AppArmor profile for rootlesskit. Signed-off-by: fahed dorgaa <fahed.dorgaa@gmail.com>
37904a0
to
128e6a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
This PR fix #2847: