mirror of
https://github.com/kata-containers/kata-containers.git
synced 2026-07-01 22:50:54 +00:00
Parallel make jobs invoke kata-deploy-binaries-in-docker.sh concurrently and collide on two shared paths: ln: Already exists mkdir: /home/$USER/.docker: File exists Skip the symlink creation when the link is already in place. If a parallel job wins the create race in the cold-start window, fall back to re-checking that the link exists so a real ln failure (permission, disk full, etc.) still propagates rather than being silently swallowed. The `~/.docker` mkdir is guarded by a `[[ ! -d ]]` check that two processes can pass simultaneously, after which one bare `mkdir` fails. Switch to `mkdir -p` so the second invocation is a no-op. Assisted-By: Claude <noreply@anthropic.com> Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
Kata Containers packaging
Introduction
Kata Containers currently supports packages for many distributions. Tooling to aid in creating these packages are contained within this repository.
Build in a container
Kata build artifacts are available within a container image, created by a
Dockerfile. Reference DaemonSets are provided in
kata-deploy, which make installation of Kata Containers in a
running Kubernetes Cluster very straightforward.
Build static binaries
See the static build documentation.
Build Kata Containers Kernel
Build QEMU
Create a Kata Containers release
See the release documentation.
Packaging scripts
See the scripts documentation.
Credits
Kata Containers packaging uses packagecloud for package hosting.