Repository navigation
Conversation
Save the containerd-worker configuration before enabling BuildKit, then restart the service to load the new settings even if it is already running. Starting the daemon before editing its configuration leaves the old worker configuration active. Signed-off-by: xinjun.jiang <xinjun.jiang@daocloud.io>
AkihiroSuda
reviewed
Oct 20, 2026
| After saving the configuration, enable and restart BuildKit so a running daemon uses the updated worker settings: | ||
|
|
||
| ``` | ||
| $ sudo systemctl enable buildkit |
Member
There was a problem hiding this comment.
enable --now does not work?
AkihiroSuda
reviewed
Oct 20, 2026
| ``` | ||
|
|
||
| Then add the following configuration to `/etc/buildkit/buildkitd.toml` to enable containerd worker. | ||
| Add the following configuration to `/etc/buildkit/buildkitd.toml` to enable containerd worker. |
Member
There was a problem hiding this comment.
This is not needed for OCI worker mode.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Write the rootful containerd-worker configuration before enabling BuildKit, then restart the service so an already running daemon uses the new worker settings. The previous sequence started the service before editing its configuration and left it running with the old settings.
Validated with a private BuildKit 0.34.0 daemon and empty task-owned containerd namespaces: replaying the old command order leaves the worker on its original namespace, while the corrected order switches it to the configured namespace. Service actions were mapped to the private daemon; host systemd and configuration were not changed. The daemon, socket, state directory and namespaces were removed afterward. Codespell,
make lint-commitsandgit diff --checkpassed.AI assistance was used in preparing this contribution.