experiment/selinux/README.md
This is an experimental project to create a SELinux library in Rust.
Ref: https://github.com/youki-dev/youki/issues/2718.
Reimplementation of opencontainers/selinux in Rust.
# Start the VM with default settings (non-interactive mode)
$ ./lima-setup.sh
# For interactive mode (when not running in CI)
$ ./lima-setup.sh --interactive
# See all available options
$ ./lima-setup.sh --help
Once the VM is set up:
# Inside the VM, run tests
$ ./lima-run.sh cargo test
# Inside the VM, run the application
$ ./lima-run.sh cargo run
# Connect to the VM
$ limactl shell --workdir /workdir/youki/experiment/shared youki-selinux
When finished with development:
# Remove the Lima VM
$ ./lima-setup.sh --cleanup