File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ Join `#buildkit` channel on [Docker Community Slack](https://dockr.ly/comm-slack
42
42
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
43
43
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
44
44
45
-
46
45
- [ Used by] ( #used-by )
47
46
- [ Quick start] ( #quick-start )
48
47
- [ Starting the ` buildkitd ` daemon] ( #starting-the-buildkitd-daemon )
@@ -72,6 +71,7 @@ Join `#buildkit` channel on [Docker Community Slack](https://dockr.ly/comm-slack
72
71
- [ Load balancing] ( #load-balancing )
73
72
- [ Containerizing BuildKit] ( #containerizing-buildkit )
74
73
- [ Podman] ( #podman )
74
+ - [ Nerdctl] ( #nerdctl )
75
75
- [ Kubernetes] ( #kubernetes )
76
76
- [ Daemonless] ( #daemonless )
77
77
- [ Opentracing support] ( #opentracing-support )
@@ -672,6 +672,16 @@ buildctl --addr=podman-container://buildkitd build --frontend dockerfile.v0 --lo
672
672
673
673
` sudo ` is not required.
674
674
675
+ ### Nerdctl
676
+ To connect to a BuildKit daemon running in a Nerdctl container, use ` nerdctl-container:// ` instead of ` docker-container:// ` .
677
+
678
+ ``` bash
679
+ nerdctl run -d --name buildkitd --privileged moby/buildkit:latest
680
+ buildctl --addr=nerdctl-container://buildkitd build --frontend dockerfile.v0 --local context=. --local dockerfile=. --output type=oci | nerdctl load
681
+ ```
682
+
683
+ ` sudo ` is not required.
684
+
675
685
### Kubernetes
676
686
677
687
For Kubernetes deployments, see [ ` examples/kubernetes ` ] ( ./examples/kubernetes ) .
You can’t perform that action at this time.
0 commit comments