Files
kata-containers/docs/how-to
Alex Lyn f254eeb0e9 CI: Keep base64 output is a single line
This commit addresses an issue where base64 output, when used with a
default configuration, would introduce newlines, causing decoding to
fail on the runtime.

The fix ensures base64 output is a single, continuous line using the -w0
flag. This guarantees the encoded string is a valid Base64 sequence,
preventing potential runtime errors caused by invalid characters.

Note that: When you use the base64 command without any parameters, it
typically automatically adds newlines to the output, usually every 76 chars.

In contrast, base64 -w0 explicitly tells the command not to add any
newlines (-w for wrap, and 0 for a width of zero), which results in a
continuous string with no whitespace.

This is a critical distinction because if you pass a Base64 string with
newlines to a runtime, it may be treated as an invalid string, causing
the decoding process to fail.

Signed-off-by: Alex Lyn <alex.lyn@antgroup.com>
2025-09-23 11:58:53 +08:00
..
2024-09-19 16:05:43 +02:00

Howto Guides

Kubernetes Integration

Hypervisors Integration

Currently supported hypervisors with Kata Containers include:

  • qemu

  • cloud-hypervisor

  • firecracker

    In the case of firecracker the use of a block device snapshotter is needed for the VM rootfs. Refer to the following guide for additional configuration steps:

Confidential Containers Policy

Advanced Topics