rootless-docker
rootless-docker copied to clipboard
Add AppArmor 4 config
What are these changes?
This change resolves #401 by adding an AppArmor profile for rootlesskit on runners using AppArmor 4.
Why are these changes being made?
These changes are required to run ScribeMD/rootless-docker on ubuntu-24.04.
Notes:
- Added some terms to the dictionary to make CSpell happy.
- I was getting errors when trying to apply this config on
ubuntu-22.04(which uses AppArmor 3), so I've configured this change to only apply the config on platforms using AppArmor 4 (steps.apparmor.outputs.ABI4_VERSION != ''). - Tests for this change are in #403.
@Kurt-von-Laven friendly ping
@mwarres friendly ping
I emailed @Kurt-von-Laven on 2025-01-04. I'll relay any of those updates here.
I just tested the code in this PR and it works