File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -271,6 +271,9 @@ Container runtime examples:
271
271
- [ ` ./examples/podman.yaml ` ] ( ./examples/podman.yaml ) : Podman
272
272
- [ ` ./examples/singularity.yaml ` ] ( ./examples/singularity.yaml ) : Singularity
273
273
274
+ Container image builder examples:
275
+ - [ ` ./examples/buildkit.yaml ` ] ( ./examples/buildkit.yaml ) : BuildKit
276
+
274
277
Container orchestrator examples:
275
278
- [ ` ./examples/k3s.yaml ` ] ( ./examples/k3s.yaml ) : Kubernetes (k3s)
276
279
- [ ` ./examples/k8s.yaml ` ] ( ./examples/k8s.yaml ) : Kubernetes (kubeadm)
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ Container engines:
21
21
- [ ` singularity.yaml ` ] ( ./singularity.yaml ) : Singularity
22
22
- LXD is installed in the default Ubuntu template, so there is no ` lxd.yaml `
23
23
24
+ Container image builders:
25
+ - [ ` buildkit.yaml ` ] ( ./buildkit.yaml ) : BuildKit
26
+
24
27
Container orchestration:
25
28
- [ ` k3s.yaml ` ] ( ./k3s.yaml ) : Kubernetes via k3s
26
29
- [ ` k8s.yaml ` ] ( ./k8s.yaml ) : Kubernetes via kubeadm
Original file line number Diff line number Diff line change
1
+ # Example to use BuildKit
2
+ # $ limactl start ./buildkit.yaml
3
+
4
+ # To run `buildkit` on the host (assumes buildctl is installed):
5
+ # $ export BUILDKIT_HOST=$(limactl list buildkit --format 'unix://{{.Dir}}/sock/buildkitd.sock')
6
+ # $ buildctl debug workers
7
+ message : |
8
+ To run `buildkit` on the host (assumes buildctl is installed), run the following commands :
9
+ -------
10
+ export BUILDKIT_HOST="unix://{{.Dir}}/sock/buildkitd.sock"
11
+ buildctl debug workers
12
+ -------
13
+ images :
14
+ - location : " https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-amd64.img"
15
+ arch : " x86_64"
16
+ - location : " https://cloud-images.ubuntu.com/impish/current/impish-server-cloudimg-arm64.img"
17
+ arch : " aarch64"
18
+
19
+ containerd :
20
+ system : false
21
+ user : true
22
+
23
+ portForwards :
24
+ - guestSocket : " /run/user/{{.UID}}/buildkit/buildkitd.sock"
25
+ hostSocket : " {{.Dir}}/sock/buildkitd.sock"
You can’t perform that action at this time.
0 commit comments