-
Notifications
You must be signed in to change notification settings - Fork 485
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
Docker WorkloadAttestor plugin does not work for RHEL #1518
Comments
Thank you for filing this issue @vbotez! To fix this we'll need to update the container ID finders that consume those matcher patterns to allow for a sub-segment match on
Operators can then use the
|
Thank you for the pointers @azdagron ! |
Having the same issue on Ubuntu. Adding for context.
|
A fix for this was just merged. Mind giving it another go? |
Docker WorkloadAttestor relies on cgroups to get details about the container selectors.
The code as-written cannot handle extracting the ID out of
docker-<ID>
.scope. It expects the ID to be an entire segment, i.e./.../<ID>/...
Here is an example from docker4desktop (that I think is based on Ubuntu):
vs. RHEL (and I guess CentOS also) system:
According to the docker workload attestor code here:
spire/pkg/agent/plugin/workloadattestor/docker/docker.go
Line 31 in 752d4d4
This will never match RHEL type cgroups.
The text was updated successfully, but these errors were encountered: