Setup for adding an AppArmor profile to Podman containers through OCI hooks.
script.sh
: A shell script that will be executed by the OCI hook.oci.json
: OCI hook configuration file that specifies when and how to run thescript.sh
.Makefile
: Contains installation and uninstallation instructions.
To set up the OCI hook and AppArmor profile, follow these steps:
-
Clone the Repository
git clone https://github.com/Ishaanj18/LFX_PreTask.git
-
Install Dependencies
Ensure you have `Podman`, `AppArmor`, and `make` installed on your system.
-
Execute the following command
make