mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-17 22:34:25 +01:00
Let's add the documentation on how to generate the Kata Containers payload, based in the CCv0 branch, that's consumed by the Confidential Containers Operator. Fixes: #5041 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
1.3 KiB
1.3 KiB
Generating a Kata Containers payload for the Confidential Containers Operator
Confidential Containers
Operator consumes a Kata
Containers payload, generated from the CCv0 branch, and here one can find all
the necessary info on how to build such a payload.
Requirements
makeinstalled in the machine- Docker installed in the machine
sudoaccess to the machine
Process
- Clone Kata Containers
git clone --branch CCv0 https://github.com/kata-containers/kata-containers- In case you've already cloned the repo, make sure to switch to the
CCv0branchgit checkout CCv0 - Ensure your tree is clean and in sync with upstream
CCv0git clean -xfd git reset --hard <upstream>/CCv0
- In case you've already cloned the repo, make sure to switch to the
- Make sure you're authenticated to
quay.iosudo docker login quay.io - From the top repo directory, run:
sudo make cc-payload - Make sure the image was upload to the Confidential Containers runtime-payload registry
Notes
Make sure to run it on a machine that's not the one you're hacking on, prepare a cup of tea, and get back to it an hour later (at least).