Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 14 additions & 5 deletions docs/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ If `CONTAINERD_NAMESPACE` is not specified, that location will be `$XDG_RUNTIME_

### Rootful

```
$ sudo systemctl enable --now buildkit
```

Then add the following configuration to `/etc/buildkit/buildkitd.toml` to enable containerd worker.
To use the containerd worker, add the following configuration to `/etc/buildkit/buildkitd.toml`.
This configuration is not needed for [OCI worker mode](#setting-up-buildkit-with-oci-worker).

```toml
[worker.oci]
Expand All @@ -72,6 +69,18 @@ Then add the following configuration to `/etc/buildkit/buildkitd.toml` to enable
namespace = "default"
```

After saving the configuration, enable and start BuildKit:

```
$ sudo systemctl enable --now buildkit
```

If BuildKit was already running when the configuration was changed, restart it to apply the new worker settings:

```
$ sudo systemctl restart buildkit
```

## Setting up BuildKit with OCI worker

### Rootless
Expand Down
Loading