-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Discover and document why AppArmor and containers are a difficult combination #33753
Comments
I've discovered one possible reason I can't get apparmor working: On Ubuntu, /etc/apparmor/logprof.conf is set up to limit how the python executables can be affected by apparmor. EDIT: Ah! I need to add |
Some things I've learned:
Useful resources:
Open questions:
|
The answer turns out to be yes, you can do that! Here's a demo of confining a single executable inside a container: DemoIn hostsudo emacs -nw /etc/apparmor.d/experiment-docker-block-bin
In lms-shell
Probe to test confinement:
...and it turns out we had this solution all along: |
Acceptance Criteria:
Notes:
It is received wisdom that edxapp cannot be containerized due to the presence of AppArmor in codejail. Check if this is still true (maybe the situation has changed) and document the results of our findings, probably in the codejail repo.
Leads:
The text was updated successfully, but these errors were encountered: