Skip to content

Commit

Permalink
Configure Buildkit Namespace as Env Variable
Browse files Browse the repository at this point in the history
The containerd-rootless-setup.sh script in nerdctl takes a
CONTAINERND_NAMESPACE variable when configuring the buildkit containerd worker
namespace. This variable is defined here in lima so that it is passed into the
containerd-rootless-setup.sh script, used by the CIDATA scripts while
provisioning the VM.

Signed-off-by: Olly Pomeroy <[email protected]>
  • Loading branch information
ollypom committed Dec 22, 2022
1 parent f2a6346 commit 65c9851
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions finch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,15 @@ video:
# on performance on macOS hosts: https://gitlab.com/qemu-project/qemu/-/issues/334
# 🟢 Builtin default: "none"
display: null

# Extra environment variables that will be loaded into the VM at start up.
# These variables are consumed by internal init scripts, and also added
# to /etc/environment.
# If you set any of "ftp_proxy", "http_proxy", "https_proxy", or "no_proxy", then
# Lima will automatically set an uppercase variant to the same value as well.
# 🟢 Builtin default: null
env:
# Containerd namespace is used by the lima cidata script
# 40-install-containerd.sh. Specifically this variable is defining the
# Buildkit Workers Containerd namespace.
CONTAINERD_NAMESPACE: finch

0 comments on commit 65c9851

Please sign in to comment.