Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
5105 commits
Select commit Hold shift + click to select a range
7ed4640
dockerui: update platforms key calculation
tonistiigi Apr 29, 2025
8dae455
Merge pull request #5941 from AkihiroSuda/fix-5915
tonistiigi Apr 29, 2025
2e531e7
Merge pull request #5950 from jsternberg/fix-tlsdir
tonistiigi Apr 29, 2025
f198c38
Merge pull request #5905 from fiam/alberto/grpc-preserve-unknown-types
tonistiigi Apr 29, 2025
c0205ad
feat: add FrontendError
fiam Apr 21, 2025
f04f53d
Merge pull request #5942 from fiam/alberto/frontend-error
tonistiigi May 2, 2025
f9ee259
util: fix stack compression compare bug
tonistiigi May 2, 2025
94f3b37
Merge pull request #5953 from tonistiigi/stack-compress-fix
AkihiroSuda May 2, 2025
f1f56c2
golangci-lint: v2 upgrade
tonistiigi May 2, 2025
4e8334d
lint: renable error types for errname
tonistiigi May 2, 2025
42b37d2
lint: enable durationcheck
tonistiigi May 2, 2025
c6a1dcd
lint: correcting errorlint and some err113 cases
tonistiigi May 2, 2025
e291d88
lint: stack + tracing error updates
tonistiigi May 2, 2025
1e512a1
lint: add fatcontext
tonistiigi May 2, 2025
7e96e62
lint: add usestdlibvars
tonistiigi May 2, 2025
69d3d44
lint: add unconvert
tonistiigi May 2, 2025
0a4873d
pusher: add response details to push errors
tonistiigi May 6, 2025
f1f804d
util: testutil: enable `dockerd-containerd` worker for wcow
profnandaa May 3, 2025
3bee376
Merge pull request #5956 from profnandaa/tests-enable-dockerd-worker
tonistiigi May 6, 2025
01b3eb4
dockerfile: make WORKDIR respect SOURCE_DATE_EPOCH
tonistiigi May 7, 2025
07244fd
Merge pull request #5960 from tonistiigi/workdir-epoch
AkihiroSuda May 7, 2025
f2f3719
Merge pull request #5955 from tonistiigi/lint-v2
tonistiigi May 7, 2025
3e5d4dc
update to go1.24
tonistiigi Mar 5, 2025
9fcedf9
update gopls to go1.24 compatible version
tonistiigi May 8, 2025
14acf4c
wcow: leave default PATH env to be set by the OS
profnandaa May 10, 2025
c097f43
Support for building overlaybd images
liulanzheng Jan 17, 2025
b40bfd1
cache: improve migration to image manifest cache
tonistiigi May 12, 2025
c88c4a7
progressui: fix panic on very small terminal
tonistiigi May 13, 2025
5ecb410
Merge pull request #5967 from tonistiigi/small-term-fix
AkihiroSuda May 13, 2025
b8ed78f
Merge pull request #5966 from tonistiigi/image-manifest-err-fix
AkihiroSuda May 13, 2025
0b77373
dockerfile: allow whitespace in heredocs
jedevc Mar 6, 2025
b46daef
Merge pull request #5814 from tonistiigi/go-1.24
tonistiigi May 13, 2025
50247f3
fix: omit empty list of platforms when serializing worker config
fiam May 13, 2025
5666820
Merge pull request #5895 from profnandaa/fix-default-windows-path
tonistiigi May 13, 2025
97c2fdd
errdefs: fix filename typo
tonistiigi May 5, 2025
72950ab
Merge pull request #5958 from tonistiigi/pusher-response-error
tonistiigi May 13, 2025
90196ef
Merge pull request #5968 from fiam/alberto/omitempty-platforms-list
tonistiigi May 13, 2025
f5c6cc3
Merge pull request #5817 from jedevc/fix-whitespace-in-heredoc
tonistiigi May 13, 2025
6667c5e
Merge pull request #5957 from tonistiigi/errdefs-filename-typo
tonistiigi May 13, 2025
d0dd5ac
Merge pull request #3867 from HileQAQ/main
AkihiroSuda May 14, 2025
eb7b57f
lint: fix after merge conflict
crazy-max May 14, 2025
e338604
Merge pull request #5970 from crazy-max/fix-lint
crazy-max May 14, 2025
8755d60
cdi: fix device request by class annotation
crazy-max May 14, 2025
368e03c
Merge pull request #5969 from crazy-max/fix-cdi-class
tonistiigi May 14, 2025
4da8760
dockerfile: run device docs
crazy-max May 14, 2025
6b3c423
dockerfile: update cni to 1.7.1
crazy-max Nov 19, 2024
40e8799
Merge pull request #5923 from crazy-max/run-device-docs
crazy-max May 14, 2025
141a4a6
Merge pull request #5533 from crazy-max/update-cni
crazy-max May 14, 2025
cb30cf0
vendor: github.com/containerd/accelerated-container-image v1.3.0
thaJeztah May 15, 2025
7cf444e
Merge pull request #5973 from thaJeztah/vendor_accelerated_container_…
AkihiroSuda May 15, 2025
fa7ba10
project: update wrong flag name
tonistiigi May 16, 2025
d359d54
Merge pull request #5976 from tonistiigi/project-correct-flag
tonistiigi May 17, 2025
6cbf02a
git source: add AttrGitChecksum
AkihiroSuda Apr 10, 2025
8ee2cf5
dockerfile: implement `ADD --checksum=COMMIT_HASH GIT_URL`
AkihiroSuda May 16, 2025
58f956b
git: verify checksum early and more tests
tonistiigi May 17, 2025
6b0bf3b
git: add testcase for checking that adding checksum doesn't break cache
tonistiigi May 17, 2025
2307fb7
allow duration based filters on diskusage requests
tonistiigi Oct 24, 2024
bc508e4
Merge pull request #5975 from AkihiroSuda/git-checksum
crazy-max May 19, 2025
81e0fe7
Merge pull request #5455 from tonistiigi/du-keepduration
crazy-max May 19, 2025
40ad926
tests: client: skip flaky test on windows
profnandaa May 19, 2025
3a8422b
Merge pull request #5980 from profnandaa/fix-skip-flaky-test
tonistiigi May 19, 2025
24ecdac
Dockerfile: curl: add -S -f
AkihiroSuda May 20, 2025
5d47024
Merge pull request #5983 from AkihiroSuda/curl-flags
AkihiroSuda May 20, 2025
9a5dff0
vendor: update to containerd v2.1.1
tonistiigi May 21, 2025
4fa75ef
Dockerfile: update containerd v2.1.1
austinvazquez May 17, 2025
c9e6758
Dockerfile: update runc v1.3.0
austinvazquez May 17, 2025
b36d5b2
Dockerfile: update nerdctl v2.1.2
austinvazquez May 17, 2025
69e3cdc
Dockerfile: update rootlesskit v2.3.5
austinvazquez May 17, 2025
46e52f4
file: add chown to archive unpack from copy
tonistiigi May 22, 2025
ea71e14
Fix instructions for building directly from repo
rrjjvv May 23, 2025
c71ed01
ci(validate): split by platform
crazy-max May 22, 2025
9c0a32d
ci(validate): choose best matching runner
crazy-max May 23, 2025
c79c6b6
ci: arm runners are only available on public repos
crazy-max May 23, 2025
0f85fe7
Merge pull request #5988 from rrjjvv/build-instruction-fix
crazy-max May 23, 2025
f736b44
fix: wcow: cache: add lock for enable/disable privileges
profnandaa May 23, 2025
c2d5106
Merge pull request #5986 from crazy-max/ci-split-lint
tonistiigi May 23, 2025
0812ed8
README.md: Add Massé to the list of frontends
marxarelli May 23, 2025
bf498ba
Merge pull request #5990 from marxarelli/review/mention-masse
tonistiigi May 23, 2025
cb5a6c7
dockerfile: add --unpack flag to ADD
tonistiigi May 24, 2025
01146e1
Merge pull request #5987 from tonistiigi/add-archive-chown
crazy-max May 26, 2025
d9dc2b2
ci: assign author on pull request
crazy-max May 26, 2025
71da7ab
Merge pull request #5991 from tonistiigi/add-unpack
crazy-max May 26, 2025
326d505
Merge pull request #5959 from profnandaa/fix-flaky-tests-5906
tonistiigi May 27, 2025
6b834e0
llbsolver: fix nil result error on multi-platform
tonistiigi May 28, 2025
d5704f8
exporter: fix oci export of multi-platform nil result
tonistiigi May 28, 2025
1bd26bf
Merge pull request #5977 from austinvazquez/update-runtime-components…
crazy-max May 28, 2025
a8d949a
Merge pull request #5996 from tonistiigi/multi-nil-result-fixes
AkihiroSuda May 28, 2025
ab80544
Merge pull request #5994 from crazy-max/pr-assign-author
crazy-max May 28, 2025
705a9bc
solver: handle not found error on cache export
tonistiigi May 29, 2025
a11c20c
integration: fix data race on printing daemon logs
tonistiigi May 31, 2025
5bb042f
integration: data race protection of localimagecache
tonistiigi May 31, 2025
125f494
sshforward: Add support for forwarding raw connections
cpuguy83 May 30, 2025
64918db
Merge pull request #6004 from tonistiigi/logs-data-race
tonistiigi Jun 2, 2025
e8064f7
solver: fix data race on setting job values
tonistiigi Jun 2, 2025
9f48413
dockerui: fix data race on dockerignore access
tonistiigi Jun 2, 2025
96447a8
Add support for raw mode in the SSH agent provider.
cpuguy83 May 31, 2025
c39de5e
Remove intermediate type RawConfig
cpuguy83 Jun 2, 2025
045465b
test: move cdi tests to dedicated file
crazy-max Jun 4, 2025
265279d
Merge pull request #6003 from cpuguy83/raw_socket_forwarding
tonistiigi Jun 5, 2025
e756d3c
fix HTTP_PROXY errors on local sockets via grpc update
tonistiigi Jun 5, 2025
6e34e07
Merge pull request #6011 from tonistiigi/fix-proxy-sock
AkihiroSuda Jun 5, 2025
f8447d3
git url: rename GitURLFragment to GitURLOpts
AkihiroSuda May 15, 2025
141fe1b
Merge pull request #5999 from tonistiigi/cache-export-notfound
AkihiroSuda Jun 5, 2025
4f32c74
cdi: mitigate tests flakiness
crazy-max Jun 4, 2025
229bbfd
Merge pull request #6012 from AkihiroSuda/rename-giturlfragment
tonistiigi Jun 5, 2025
6df9fcd
vendor: update fsutil to master@586307ad452f
profnandaa Jun 6, 2025
676a175
fix(readme): Add a missing trailing double quote
chouetz Jun 6, 2025
608d2b4
Update buildkitd.toml.md registry examples
zfrank Jun 6, 2025
60e0eb3
Merge pull request #6018 from chouetz/patch-1
crazy-max Jun 6, 2025
bba4a86
Merge pull request #6017 from profnandaa/vendor-fsutil
crazy-max Jun 6, 2025
2ff77b2
Merge pull request #6019 from zfrank/patch-1
tonistiigi Jun 6, 2025
5fbd332
vendor: mod-outdated patch release updates
tonistiigi Jun 9, 2025
872b1d4
vendor: update docker & cli to v28.2.2
tonistiigi Jun 9, 2025
286d46c
Merge pull request #6020 from tonistiigi/vendor-patch-bump
AkihiroSuda Jun 10, 2025
8b35341
Merge pull request #6010 from crazy-max/fix-cdi-tests
tonistiigi Jun 10, 2025
eaf5a6a
build(deps): bump softprops/action-gh-release from 2.2.2 to 2.3.2
dependabot[bot] Jun 11, 2025
2f6fbdc
http: allow authorization secrets per hostname
tonistiigi Jun 11, 2025
1675bac
Merge pull request #6023 from tonistiigi/http-auth-secrets
AkihiroSuda Jun 11, 2025
a58f93e
provenance slsa v1
crazy-max Jun 2, 2025
10e725d
docs: provenance slsa v1
crazy-max Jun 2, 2025
d36487b
history: build arg to opt-in for provenance slsa v1
crazy-max Jun 4, 2025
41ee238
local: fix platform-split=true option
tonistiigi Jun 3, 2025
25c7c80
Merge pull request #6006 from tonistiigi/data-race-patch
AkihiroSuda Jun 11, 2025
450362a
contenthash: unconditionally clear ModeIrregular during content hash
jsternberg Jun 11, 2025
0972af1
Merge pull request #6025 from jsternberg/unconditional-clear-mode-irr…
tonistiigi Jun 11, 2025
40ddcfc
fix: wcow: privileges for local exporter
profnandaa Jun 5, 2025
3eb4e72
client: add test for forcing platform-split=true on single-arch build
tonistiigi Jun 3, 2025
db03322
test: use platforms spec instead of runtime const
crazy-max Jun 11, 2025
5606f26
Merge pull request #6005 from crazy-max/slsa-v1
tonistiigi Jun 11, 2025
a23bc16
vendor: github.com/tonistiigi/go-actions-cache 388a2ec8cdf8
crazy-max Jun 11, 2025
b1cff73
docs: fix heading levels in slsa-definitions page
crazy-max Jun 11, 2025
9b8aded
Merge pull request #6007 from tonistiigi/fix-platform-split-true
tonistiigi Jun 11, 2025
e5faaa6
Merge pull request #6026 from crazy-max/vendor-go-actions-cache
tonistiigi Jun 11, 2025
7fdda10
Merge pull request #6027 from crazy-max/fix-docs-provenance
tonistiigi Jun 11, 2025
43580f9
resolver: allow reference matches for local image lookups
tonistiigi Jun 13, 2025
c3f0416
Merge pull request #6021 from moby/dependabot/github_actions/softprop…
crazy-max Jun 16, 2025
773fdf3
Merge pull request #6029 from tonistiigi/resolver-local-ref
tonistiigi Jun 16, 2025
ad2a3be
provenance: slsa v1 to v0.2 helper
crazy-max Jun 18, 2025
be3e6a9
Use commit date in release binary artifacts
aciba90 Jun 18, 2025
9b91d20
Merge pull request #6034 from crazy-max/slsa1-to-02
tonistiigi Jun 18, 2025
9041ccc
Update containerd to v2.1.3
dmcgowan Jun 19, 2025
5f16f79
Merge pull request #6040 from dmcgowan/update-containerd-v2.1.3
crazy-max Jun 20, 2025
6dbcf9e
Merge pull request #6037 from aciba90/2007-use-commit-date-in-binary-…
crazy-max Jun 20, 2025
8839027
forbid inconsistent logging and shadowing stdlib
tonistiigi Jun 21, 2025
7841a73
Merge pull request #6042 from tonistiigi/log-lint-fixes
crazy-max Jun 21, 2025
628d5cb
dockerfile: update govulncheck to v1.1.4
crazy-max Jun 23, 2025
870aae6
Merge pull request #6044 from crazy-max/update-govulncheck
tonistiigi Jun 23, 2025
dce5cac
client: allow configuring exporter content store
jedevc Jun 23, 2025
edfba12
Merge pull request #6045 from jedevc/solveopt-exporter-store
tonistiigi Jun 24, 2025
246ea10
vendor: align otel deps to v0.60.0 / v1.35.0
thaJeztah Jun 25, 2025
7eb4c71
vendor: github.com/docker/docker v28.3.0
thaJeztah Jun 25, 2025
b83b243
vendor: github.com/docker/cli v28.3.0
thaJeztah Jun 25, 2025
0247e0d
Merge pull request #6050 from thaJeztah/bump_docker_28.3
crazy-max Jun 25, 2025
b7e5fbf
frontend: group provenance tests
crazy-max Jun 25, 2025
3a4179c
local: fix attestation filename
crazy-max Jun 25, 2025
00f15ab
test: provenance local export
crazy-max Jun 25, 2025
91ff73e
Merge pull request #6051 from crazy-max/local-fix-platform-attestation
crazy-max Jun 25, 2025
bdfc809
gha cache: reload expired cache URLs
tonistiigi Jun 26, 2025
7bf2360
Merge pull request #6053 from tonistiigi/gha-403-retry
crazy-max Jun 27, 2025
e70ed65
update alpine to 3.22
crazy-max Jun 25, 2025
4c9d94f
add cache key debuginfo lookup
tonistiigi Jun 30, 2025
d5a40ad
Merge pull request #6048 from crazy-max/alpine-3.22
tonistiigi Jul 3, 2025
044e09c
buildkitd: add cache store debugging endpoints
tonistiigi Jul 8, 2025
63874fc
cachedigest: rename array types to list
tonistiigi Jul 10, 2025
0506df9
Merge pull request #6061 from tonistiigi/cache-debuginfo-db
tonistiigi Jul 11, 2025
bc0c857
buildkitd: handle device insecure entitlement
crazy-max Jul 11, 2025
af1cfa7
testutil: update docker daemon config struct
crazy-max Jul 11, 2025
5dae5a0
docs: cdi autoallow and device entitlement
crazy-max Jul 11, 2025
2b69337
Merge pull request #6081 from crazy-max/testutil-builder-entitlements
tonistiigi Jul 11, 2025
d84b119
fix: display error details on unexpected response status code errors
fiam Jul 4, 2025
225f8bc
Merge pull request #6067 from fiam/alberto/show-token-error-details
tonistiigi Jul 14, 2025
69d0afc
Merge pull request #6080 from crazy-max/buildkitd-device-entitlement
crazy-max Jul 15, 2025
c91c406
fix: tests: skip flaky integration tests on Windows
Jul 15, 2025
16e8c26
Merge pull request #6087 from bvlabsafrica/wcow-skip-flaky-tests
tonistiigi Jul 16, 2025
21c35ed
fix: corrected doc comment for llb.State.Env
michaeldwan Jul 17, 2025
986ff4e
dockerfile: fix created time taken from base image if named context used
tonistiigi Jul 18, 2025
f7607f3
Merge pull request #6090 from michaeldwan/fix-state-env-description
tonistiigi Jul 18, 2025
a6f4cc5
TestGetRemotes: fix race of laziness check
ktock Jul 18, 2025
34a91d2
Merge pull request #6099 from ktock/fix-getremotes
tonistiigi Jul 18, 2025
44a7014
executor/oci: add fork of moby resolvconf (does not compile)
thaJeztah Jul 17, 2025
504b10d
executor/oci: resolvconf: rewrite tests using testify
thaJeztah Jul 17, 2025
b2d103f
executor/oci: use fork of libnetwork/resolvconf
thaJeztah Jul 15, 2025
ce4e767
executor/oci: resolvconf: remove unused code
thaJeztah Jul 15, 2025
2614833
executor/oci: resolvconf: use buildkit errdefs
thaJeztah Jul 17, 2025
4e1e0fe
executor/oci: use buildkit bklog instead of containerd/log
thaJeztah Jul 21, 2025
0c01580
Merge pull request #6096 from tonistiigi/fix-named-context-created-time
tonistiigi Jul 21, 2025
3d43066
Merge pull request #6086 from thaJeztah/fork_resolvconf
tonistiigi Jul 22, 2025
db72534
executor/oci: migrate to moby/profiles/seccomp module
thaJeztah Jul 22, 2025
0396f3e
Merge pull request #6100 from thaJeztah/migrate_seccomp
tonistiigi Jul 22, 2025
aa36c48
dockerfile: docs for BUILDKIT_BUILD_NAME built-in build-arg
crazy-max Jul 23, 2025
05c55e5
move resolvconf package to util
crazy-max Jul 23, 2025
9b68dbe
simplify resolvconf path resolution
crazy-max Jul 23, 2025
89d6ce6
resolvconf: embed fixtures
crazy-max Jul 23, 2025
7400820
buildkitd: add flag to set max parallelism
crazy-max Jul 24, 2025
47c8431
Merge pull request #6105 from crazy-max/max-parallelism-flag
tonistiigi Jul 25, 2025
b13c507
build(deps): bump github.com/docker/docker
dependabot[bot] Jul 29, 2025
ee216b9
Merge pull request #6114 from moby/dependabot/go_modules/github.com/d…
AkihiroSuda Aug 1, 2025
7c48d73
build(deps): bump actions/download-artifact from 4 to 5
dependabot[bot] Aug 6, 2025
7d85616
Merge pull request #6121 from moby/dependabot/github_actions/actions/…
crazy-max Aug 6, 2025
1ab265e
vendor: github.com/containerd/containerd/v2 v2.1.4
thaJeztah Aug 6, 2025
bef6017
Dockerfile: update containerd v2 binary to v2.1.4
thaJeztah Aug 6, 2025
e42df47
Dockerfile: update containerd v2.0 binary to v2.0.6
thaJeztah Aug 6, 2025
847ee3b
Dockerfile: update containerd v1 binary to v1.7.28
thaJeztah Aug 6, 2025
955c2b2
Merge pull request #6122 from thaJeztah/bump_c8d
crazy-max Aug 6, 2025
39e6a4c
vendor: github.com/docker/go-connections v0.6.0
thaJeztah Aug 8, 2025
38a9eb2
Using --oci-worker-no-process-sandbox is discouraged
andresdelfino Aug 9, 2025
9778c87
Using --oci-worker-no-process-sandbox is discouraged
andresdelfino Aug 10, 2025
6911f81
Merge pull request #6126 from thaJeztah/bump_go_connections
tonistiigi Aug 11, 2025
4b822e9
debug: allow debug from remote cache config
tonistiigi Jul 10, 2025
f3eabaf
use output specific digest in boltdb debug
tonistiigi Jul 10, 2025
854eace
debug: combine links from parents intead of children
tonistiigi Jul 11, 2025
786d74c
[cache] Fix descriptor duplication in getAvailableBlobs
Fricounet Jul 17, 2025
6d8fcb2
build(deps): bump actions/checkout from 4 to 5
dependabot[bot] Aug 12, 2025
58d2224
cache: add cache debug plaintext for image manifest and http
tonistiigi Aug 12, 2025
cea1cad
Merge pull request #6092 from Fricounet/fricounet/upstream/fix-digest…
tonistiigi Aug 12, 2025
91cb9d8
Merge pull request #6132 from moby/dependabot/github_actions/actions/…
crazy-max Aug 12, 2025
97182d4
frontend/dockerfile: fork nat.ParsePortSpecs
thaJeztah Aug 11, 2025
547cefd
frontend/dockerfile: fix linting issues
thaJeztah Aug 11, 2025
ca51050
frontend/dockerfile: parsePortSpecs: simplify
thaJeztah Aug 11, 2025
77a8b4c
frontend/dockerfile: parsePortSpec: remove unused code
thaJeztah Aug 11, 2025
0c5505d
frontend/dockerfile: inline validateProto
thaJeztah Aug 11, 2025
9962429
frontent/dockerfile: apply improvements from go-connections
thaJeztah Aug 12, 2025
77850e6
Merge pull request #6128 from thaJeztah/remove_go_connections
crazy-max Aug 13, 2025
6b0e4c7
vendor: go.etcd.io/bbolt v1.4.2
thaJeztah Aug 13, 2025
84e0b4e
Merge pull request #6133 from tonistiigi/cache-plaintext-add
tonistiigi Aug 13, 2025
3cad6c0
Merge pull request #6076 from tonistiigi/cache-debuginfo-db-remote
tonistiigi Aug 13, 2025
b3edecb
dockerfile: rule check for protocol casing in EXPOSE instruction
crazy-max Aug 13, 2025
ec7a152
Merge pull request #6136 from thaJeztah/bump_bbolt
crazy-max Aug 13, 2025
d6c82c6
dockerfile: rule check for ip or host-port mapping in EXPOSE instruction
crazy-max Aug 13, 2025
f9b9b36
Merge pull request #6135 from crazy-max/lint-expose-proto-casing
tonistiigi Aug 15, 2025
2207a88
mv util/gitutil/git_ref.go frontend/dockerfile/dfgitutil/git_ref.go
AkihiroSuda Aug 20, 2025
8322c04
replace github.com/hashicorp/go-multierror with errors.Join
thaJeztah Aug 11, 2025
cc9e936
ci(validate): use matrix subaction
crazy-max Aug 21, 2025
6a93bcd
Merge pull request #6156 from crazy-max/ci-validate-matrix
tonistiigi Aug 21, 2025
24e0bfd
Merge pull request #6130 from thaJeztah/use_errors_join
tonistiigi Aug 21, 2025
07f5b3a
dockerfile: show error when args used in COPY --from
tonistiigi Aug 20, 2025
e8ee7c8
vendor: update x/sync to v0.16.0
tonistiigi Aug 21, 2025
1d3cd9e
Merge pull request #6153 from tonistiigi/copy-from-args-error
tonistiigi Aug 21, 2025
56a6988
vendor: go.etcd.io/bbolt v1.4.3
thaJeztah Aug 21, 2025
eef386d
Merge pull request #6152 from AkihiroSuda/decouple-git_ref
AkihiroSuda Aug 22, 2025
7565c6f
Merge pull request #6158 from tonistiigi/errgroup-panic-update
AkihiroSuda Aug 22, 2025
27ebd19
Merge pull request #6159 from thaJeztah/bump_bbolt
AkihiroSuda Aug 22, 2025
ae2b7ea
Merge pull request #6127 from andresdelfino/patch-1
AkihiroSuda Aug 22, 2025
3303922
vendor: github.com/docker/cli v28.3.3
crazy-max Aug 25, 2025
f061fa1
vendor: github.com/urfave/cli v1.22.17
crazy-max Aug 25, 2025
fe68012
Merge pull request #6163 from crazy-max/update-docker-cli
crazy-max Aug 26, 2025
b443e4b
Merge pull request #6164 from crazy-max/update-urfave-cli
crazy-max Aug 26, 2025
0799379
Merge pull request #6102 from crazy-max/resolvconf-move
tonistiigi Aug 26, 2025
e76dbec
Merge pull request #6079 from crazy-max/docs-cdi-autoallow
tonistiigi Aug 26, 2025
070d993
Merge pull request #6101 from crazy-max/docs-build-name
tonistiigi Aug 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
166 changes: 125 additions & 41 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ We also like to send gifts—if you're into schwag, make sure to let
us know. We currently do not offer a paid security bounty program, but are not
ruling it out in the future.


## Reporting other issues

A great way to contribute to the project is to send a detailed report when you
Expand Down Expand Up @@ -52,59 +51,146 @@ Dependencies:
- [runc](https://github.com/opencontainers/runc)
- [containerd](https://github.com/containerd/containerd) (if you want to use containerd worker)


The following command installs `buildkitd` and `buildctl` to `/usr/local/bin`:

```bash
make && sudo make install
```

You can also use `make binaries-all` to prepare `buildkitd.containerd_only` and `buildkitd.oci_only`.

To build containerized `moby/buildkit:local` and `moby/buildkit:local-rootless` images:
```bash
make images
```

### Run BuildKit

You can launch the backend BuildKit daemon either in a container, or directly:

```bash
# run the daemon in a container
$ docker run --rm -d --name buildkitd --privileged moby/buildkit:local
$ export BUILDKIT_HOST=docker-container://buildkitd
$ buildctl debug info
BuildKit: github.com/moby/buildkit v0.11.0-rc3-623-g2ff0d2a2f.m 2ff0d2a2f53663aae917980fa27eada7950ff69c.m
```

```bash
# run the daemon directly (only on linux)
$ sudo buildkitd
$ export BUILDKIT_HOST=unix:///run/buildkit/buildkitd.sock
$ sudo buildctl debug info
BuildKit: github.com/moby/buildkit v0.11.0-rc3-506-g539bab193.m 539bab193c28d3ce731e6013f471ba24848f5c41.m
```

You can also connect buildx to the BuildKit daemon using the [`remote` driver](https://docs.docker.com/build/drivers/remote/):

```bash
$ docker buildx create --driver=remote --name=dev $BUILDKIT_HOST
$ docker buildx --builder=dev inspect
Name: dev
Driver: remote
Last Activity: 2023-06-06 14:15:52 +0000 UTC

Nodes:
Name: dev0
Endpoint: tcp://localhost:1234
Status: running
Buildkit: v0.11.0-rc3-506-g539bab193.m
Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/386
```

### Run BuildKit using Buildx

You can also have buildx run and manage the custom BuildKit daemon itself using
the [`docker-container` driver](https://docs.docker.com/build/drivers/remote/).

This is usually the easiest way to get started with a custom BuildKit daemon
for development or debugging.

```bash
$ docker buildx rm dev || true # remove previous dev builder if exists
$ docker buildx create --driver=docker-container --name=dev --driver-opt image=moby/buildkit:local --bootstrap
[+] Building 0.3s (1/1) FINISHED
=> [internal] booting buildkit
=> => starting container buildx_buildkit_dev0
dev
$ docker buildx --builder=dev inspect
Name: dev
Driver: docker-container
Last Activity: 2023-06-06 14:15:52 +0000 UTC

Nodes:
Name: dev0
Endpoint: desktop-linux
Driver Options: image="moby/buildkit:local"
Status: running
Buildkit: v0.11.0-rc3-623-g2ff0d2a2f.m
Platforms: linux/amd64, linux/amd64/v2, linux/amd64/v3, linux/arm64, linux/riscv64, linux/ppc64le, linux/s390x, linux/386, linux/mips64le, linux/mips64, linux/arm/v7, linux/arm/v6
```

### Run the unit- and integration-tests

Running tests:

```bash
make test
./hack/test integration gateway dockerfile
```

This runs all unit and integration tests in a containerized environment.
This runs all unit and integration tests, gateway client and dockerfile tests in a containerized environment.
Locally, every package can be tested separately with standard Go tools, but
integration tests are skipped if local user doesn't have enough permissions or
worker binaries are not installed.
worker binaries are not installed. The dockerfile tests run by first building new Dockerfile frontend
image and then loading it to the test environment. Builtin Dockerfile frontend can be tested with regular
integration tests.

```bash
# test a specific package only
make test TESTPKGS=./client
TESTPKGS=./client ./hack/test integration

# run a specific test with all worker combinations
make test TESTPKGS=./client TESTFLAGS="--run /TestCallDiskUsage -v"
TESTPKGS=./client TESTFLAGS="--run /TestCallDiskUsage -v" ./hack/test integration

# run all integration tests with a specific worker
# supported workers: oci, oci-rootless, containerd, containerd-1.1
make test TESTPKGS=./client TESTFLAGS="--run //worker=containerd -v"
TESTPKGS=./client TESTFLAGS="--run //worker=containerd -v" ./hack/test integration

# run a specific dockerfile test only on labs channel
DOCKERFILE_RELEASES=labs TESTFLAGS="--run /TestRunGlobalNetwork/worker=oci$/ -v" ./hack/test dockerfile

# enabling go data race detector
CGO_ENABLED=1 GOBUILDFLAGS="-race" ./hack/test integration
```

Updating vendored dependencies:
Set `TEST_KEEP_CACHE=1` for the test framework to keep external dependant images in a docker volume
if you are repeatedly calling `./hack/test` script. This helps to avoid rate limiting on the remote registry side.

You can also set `MOUNT_BUILDKIT_DOCKER_CONFIG_PATH` to forward docker config that will be used to pull
test images into the container. Don't use your personal docker config, create a new one with a dedicated
token that only has public read-only access.

If you are working behind a proxy, you can set some of or all
`HTTP_PROXY=http://ip:port`, `HTTPS_PROXY=http://ip:port`, `NO_PROXY=http://ip:port` for the test framework
to specify the proxy build args.

### Run the helper commands

To validate PRs before submitting them you should run:

```bash
# update vendor.conf
make vendor
$ make validate-all
```

Validating your updates before submission:
To generate new vendored files with go modules run:

```bash
make validate-all
$ make vendor
```

To generate new versions of automatically generated files run:

```bash
$ make generated-files
```

### Pull requests are always welcome

Expand Down Expand Up @@ -144,7 +230,7 @@ otherwise cleanup our project.
<td>
<p>
Register for the Docker Community Slack (dockercommunity.slack.com)
<a href="https://join.slack.com/t/dockercommunity/shared_invite/enQtNDY4MDc1Mzc0MzIwLTgxZDBlMmM4ZGEyNDc1N2FkMzlhODJkYmE1YTVkYjM1MDE3ZjAwZjBkOGFlOTJkZjRmZGYzNjYyY2M3ZTUxYzQ" target="_blank">Click here for an invite to docker community slack</a>.
<a href="https://dockr.ly/comm-slack" target="_blank">Click here for an invite to docker community slack</a>.
You'll find us in <code>#buildkit</code> channel, and the <code>#moby-project</code> channel for general discussions.
</p>
</td>
Expand Down Expand Up @@ -320,13 +406,11 @@ down to one.
from the Git history.
- See the [Coding Style](#coding-style) for further guidelines.


### Merge approval

Project maintainers use LGTM (Looks Good To Me) in comments on the code review to
indicate acceptance, or use the Github review approval feature.


## Coding Style

Unless explicitly stated, we follow all coding guidelines from the Go
Expand All @@ -343,29 +427,29 @@ mind when nudging others to comply.

The rules:

1. All code should be formatted with `gofmt -s`.
2. All code should pass the default levels of
[`golint`](https://github.com/golang/lint).
3. All code should follow the guidelines covered in [Effective
Go](http://golang.org/doc/effective_go.html) and [Go Code Review
Comments](https://github.com/golang/go/wiki/CodeReviewComments).
4. Comment the code. Tell us the why, the history and the context.
5. Document _all_ declarations and methods, even private ones. Declare
expectations, caveats and anything else that may be important. If a type
gets exported, having the comments already there will ensure it's ready.
6. Variable name length should be proportional to its context and no longer.
`noCommaALongVariableNameLikeThisIsNotMoreClearWhenASimpleCommentWouldDo`.
In practice, short methods will have short variable names and globals will
have longer names.
7. No underscores in package names. If you need a compound name, step back,
and re-examine why you need a compound name. If you still think you need a
compound name, lose the underscore.
8. No utils or helpers packages. If a function is not general enough to
warrant its own package, it has not been written generally enough to be a
part of a util package. Just leave it unexported and well-documented.
9. All tests should run with `go test` and outside tooling should not be
required. No, we don't need another unit testing framework. Assertion
packages are acceptable if they provide _real_ incremental value.
1. All code should be formatted with `gofmt -s`.
2. All code should pass the default levels of
[`golint`](https://github.com/golang/lint).
3. All code should follow the guidelines covered in [Effective
Go](http://golang.org/doc/effective_go.html) and [Go Code Review
Comments](https://github.com/golang/go/wiki/CodeReviewComments).
4. Comment the code. Tell us the why, the history and the context.
5. Document _all_ declarations and methods, even private ones. Declare
expectations, caveats and anything else that may be important. If a type
gets exported, having the comments already there will ensure it's ready.
6. Variable name length should be proportional to its context and no longer.
`noCommaALongVariableNameLikeThisIsNotMoreClearWhenASimpleCommentWouldDo`.
In practice, short methods will have short variable names and globals will
have longer names.
7. No underscores in package names. If you need a compound name, step back,
and re-examine why you need a compound name. If you still think you need a
compound name, lose the underscore.
8. No utils or helpers packages. If a function is not general enough to
warrant its own package, it has not been written generally enough to be a
part of a util package. Just leave it unexported and well-documented.
9. All tests should run with `go test` and outside tooling should not be
required. No, we don't need another unit testing framework. Assertion
packages are acceptable if they provide _real_ incremental value.
10. Even though we call these "rules" above, they are actually just
guidelines. Since you've read all the rules, you now know that.

Expand Down
76 changes: 76 additions & 0 deletions .github/ISSUE_TEMPLATE/bug.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
name: Bug Report
description: File a bug report.
type: "bug"
labels:
- status/triage
body:
- type: markdown
attributes:
value: |
**Thank you for taking the time to report a bug!**
If this is a security issue please report it to the [Docker Security team](mailto:[email protected]), see [SECURITY.md](https://github.com/moby/buildkit/blob/master/.github/SECURITY.md) for more information.

- type: checkboxes
attributes:
label: Contributing guidelines and issue reporting guide
description: |
Please read the contributing guidelines and issue reporting guide before proceeding.
options:
- label: I've read the [contributing guidelines](https://github.com/moby/buildkit/blob/master/.github/CONTRIBUTING.md) and wholeheartedly agree. I've also read the [issue reporting guide](https://github.com/moby/buildkit/blob/master/.github/issue_reporting_guide.md).
required: true

- type: checkboxes
attributes:
label: Well-formed report checklist
description: |
Make sure that your request fulfills all of the following requirements.
If one requirement cannot be satisfied, explain in detail why.
options:
- label: I have found a bug that the documentation does not mention anything about my problem
required: true
- label: I have found a bug that there are no open or closed issues that are related to my problem
required: true
- label: I have provided version/information about my environment and done my best to provide a reproducer
required: true

- type: textarea
attributes:
label: Description of bug
description: |
Please provide a description of the bug, reproduction steps and version information.

<details>
<summary>How to collect version information</summary>

Using `buildctl` and `buildkitd` to get version information
```bash
buildctl --version && buildkitd version
```

Using `docker` to get BuildKit information
```bash
docker buildx version && docker buildx inspect
```

Add Docker Engine information (if available)
```bash
docker version && docker info
```

</details>
value: |
## Bug description

A description of the bug, observed, and expected behaviour.

## Reproduction

Steps to reproduce the problem. If you are using `docker build` or `docker buildx build` providing the command as well as any input files will help analysis.

## Version information

```bash
terminal_output
```
validations:
required: true
12 changes: 12 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser
blank_issues_enabled: true
contact_links:
- name: Questions and Discussions
url: https://github.com/moby/buildkit/discussions/new
about: Use Github Discussions to ask questions and/or open discussion topics.
- name: Documentation
url: https://github.com/moby/buildkit/tree/master/docs
about: Read the documentation.
- name: Join the Docker Community on Slack
url: http://dockr.ly/comm-slack
about: Join the Docker Community on Slack and head to the buildkit channel.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/feature.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Feature or enhancement request
description: Missing functionality? Come tell us about it!
type: "enhancement"
labels:
- status/triage

body:
- type: textarea
id: description
attributes:
label: Description
description: What is the feature you want to see?
validations:
required: true
15 changes: 15 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Reporting security issues

The project maintainers take security seriously. If you discover a security
issue, please bring it to their attention right away!

**Please _DO NOT_ file a public issue**, instead send your report privately to
[[email protected]](mailto:[email protected]).


Explanation of BuildKit security boundary and what we consider a security issue can be found in [here](/PROJECT.md#security-boundary). If you are unsure if you have found a security issue, it is always better to check privately first.

Security reports are greatly appreciated, and we will publicly thank you for it
(if you want to). We also like to send gifts&mdash;if you're into schwag, make
sure to let us know. We currently do not offer a paid security bounty program,
but are not ruling it out in the future.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "github-actions"
open-pull-requests-limit: 10
directory: "/"
schedule:
interval: "daily"
ignore:
# ignore this dependency
# it seems a bug with dependabot as pining to commit sha should not
# trigger a new version: https://github.com/docker/buildx/pull/2222#issuecomment-1919092153
- dependency-name: "docker/docs"
labels:
- "area/dependencies"
- "bot"
Loading