Skip to content

[pull] master from moby:master #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4,907 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4907 commits
Select commit Hold shift + click to select a range
c45cd57
Merge pull request #5738 from crazy-max/dockerfile-device-error-nolabs
tonistiigi Feb 13, 2025
8ac03e2
dockerfile: update runc to 1.2.5
austinvazquez Feb 14, 2025
05a451e
add autoallow and entitlements support to CDI devices
tonistiigi Feb 14, 2025
5f4e873
mark Windows 2025 tests as non-blockin
billywr Feb 14, 2025
de39e45
Merge pull request #5743 from billywr/fix-skip-win2025-tests
crazy-max Feb 15, 2025
c62cf4d
cdi: keep auto refresh
crazy-max Feb 14, 2025
3599b77
cdi: test find devices
crazy-max Feb 14, 2025
5f6b265
client: test cdi entitlement
crazy-max Feb 14, 2025
3b4e28a
cache(gha): don't require url attr if url_v2 is set
crazy-max Feb 17, 2025
1c1814c
build(deps): bump nick-fields/retry from 3.0.0 to 3.0.1
dependabot[bot] Feb 18, 2025
dae48b3
Merge pull request #5750 from crazy-max/fix-gha-cache-v2
crazy-max Feb 18, 2025
14e8808
Merge pull request #5742 from tonistiigi/cdi-entitlements
crazy-max Feb 18, 2025
9facb2c
Merge pull request #5751 from moby/dependabot/github_actions/nick-fie…
crazy-max Feb 18, 2025
13c7eaa
Merge pull request #5741 from austinvazquez/update-runc-1.2.5
crazy-max Feb 18, 2025
2e2bd9a
buildctl: set fallback url for gha cache
crazy-max Feb 18, 2025
1c917b4
test: handle gha cache v2
crazy-max Feb 18, 2025
4712052
Merge pull request #5754 from crazy-max/update-gha-cache-test
crazy-max Feb 18, 2025
cc0cb08
refactor: avoid unnecessary calls to platforms.DefaultSpec()
profnandaa Feb 19, 2025
3c19db6
cache(gha): set user-agent for github cache service requests
crazy-max Feb 19, 2025
b682dbb
Merge pull request #5759 from crazy-max/go-actions-cache-ua
tonistiigi Feb 19, 2025
2d4d460
cache(gha): fix missing user-agent for importer
crazy-max Feb 19, 2025
a492f7b
Merge pull request #5760 from crazy-max/gha-cache-ua-importer
jsternberg Feb 19, 2025
e9fa57a
Merge pull request #5756 from profnandaa/refactor_defaultplatform
tonistiigi Feb 19, 2025
2428a6c
Merge pull request #5526 from profnandaa/tests-4485-revisit-frontend-2
tonistiigi Feb 19, 2025
877d8a7
feat: wcow: add support for bind and cache mounts
profnandaa Jan 21, 2025
a02c26d
fix: util/path: CheckSystemDriveAndRemoveDriveLetter to preserve `/`
profnandaa Sep 10, 2024
2e60c1e
http: Refactor `http.Request` construction into common method
marxarelli Feb 20, 2025
ab1e99e
http: Support authentication
marxarelli Feb 12, 2025
26b1f2b
Merge pull request #5708 from profnandaa/wcow_mount_support
tonistiigi Feb 20, 2025
18db8b3
Merge pull request #5733 from marxarelli/feature/http-auth
tonistiigi Feb 20, 2025
3a91b50
rootless: update docs and examples
AkihiroSuda Feb 21, 2025
e19af64
http: Support additional request headers
marxarelli Feb 11, 2025
bd6820a
Merge pull request #5732 from marxarelli/feature/http-accept
tonistiigi Feb 21, 2025
0a7f949
testutil: copy slim version of the docker client into testutil
jsternberg Feb 24, 2025
a20380c
Merge pull request #5731 from jsternberg/remove-docker-api-dependency
tonistiigi Feb 24, 2025
049f92d
vendor: update cdi to v0.8.1 for panic fix
tonistiigi Feb 22, 2025
2eb1b34
dockerfile: normalize platform in image config
tonistiigi Feb 25, 2025
474135f
Merge pull request #5769 from tonistiigi/cdi-fsnotify-fix
crazy-max Feb 25, 2025
1df5e28
hack(images): set EXPORT_BASE and BUILDKITD_TAGS args
crazy-max Feb 24, 2025
8244761
fix trace blob detected as leaked blob in tests
tonistiigi Feb 25, 2025
718b1f0
testutil: remove go-connections dependency
jsternberg Feb 25, 2025
6824fcf
Merge pull request #5776 from tonistiigi/normalize-image-config
AkihiroSuda Feb 26, 2025
15482b6
Merge pull request #5771 from crazy-max/hack-export-base
crazy-max Feb 26, 2025
6707a2d
uploadprovider: remove recursion from uploadprovider write code
jsternberg Feb 26, 2025
f2752a8
Merge pull request #5779 from jsternberg/remove-go-connections
tonistiigi Feb 26, 2025
cd3d075
vendor: update fsutil to 13604323
tonistiigi Feb 27, 2025
478f176
Merge pull request #5788 from tonistiigi/update-fsutil-0226
crazy-max Feb 27, 2025
a67e831
Merge pull request #5786 from jsternberg/upload-provider-non-recursiv…
tonistiigi Feb 27, 2025
824bc35
Merge pull request #5780 from tonistiigi/test-fix-trace-blob-leak
AkihiroSuda Feb 28, 2025
b8a595c
vendor: update action-cache with longer azure retries
tonistiigi Feb 28, 2025
d2c0fbe
vendor: update containerd to v2.0.3
tonistiigi Mar 1, 2025
3382f72
dockerfile: combine lint error testing into single variable
tonistiigi Mar 1, 2025
b5cc6b6
build(deps): bump nick-fields/retry from 3.0.1 to 3.0.2
dependabot[bot] Mar 2, 2025
e23e33f
Merge pull request #5797 from tonistiigi/update-actions-cache-azure
crazy-max Mar 3, 2025
63bccf1
gha: mitigate cachev2 flakiness
tonistiigi Mar 3, 2025
fff594a
Merge pull request #5317 from profnandaa/fix-5249-copy-dir-path
tonistiigi Mar 3, 2025
0bed5d9
integration: test split for wcow
tonistiigi Mar 3, 2025
1e1abc5
update binfmt to v9.2.2
tonistiigi Mar 3, 2025
540df80
Merge pull request #5805 from tonistiigi/gha-cache-v2-sleep
AkihiroSuda Mar 4, 2025
567c5f2
Merge pull request #5806 from tonistiigi/wcow-test-split
crazy-max Mar 4, 2025
695477e
Merge pull request #5808 from tonistiigi/binfmt-v9.2.2
crazy-max Mar 4, 2025
5677f8e
Merge pull request #5781 from moby/dependabot/github_actions/nick-fie…
crazy-max Mar 4, 2025
31cb92f
Merge pull request #5798 from tonistiigi/vendor-containerd-v2.0.3
crazy-max Mar 4, 2025
f7999fe
Merge pull request #5799 from tonistiigi/lint-error-combine
crazy-max Mar 4, 2025
1c41f9b
Merge pull request #5765 from AkihiroSuda/rootless
crazy-max Mar 4, 2025
9d3b02e
fix: wcow: pause integration tests on WS2025
profnandaa Mar 4, 2025
21a6d8b
Merge pull request #5810 from profnandaa/fix-wcow-tests
tonistiigi Mar 4, 2025
4e8bc5f
dockerfile: fix parsing syntax directive from JSON
tonistiigi Mar 5, 2025
f83ba18
integration: simplify test splitting
tonistiigi Mar 6, 2025
1c84aa4
Merge pull request #5816 from tonistiigi/test-split-update
crazy-max Mar 6, 2025
e62f1ed
Merge pull request #5815 from tonistiigi/fix-json-directive
crazy-max Mar 6, 2025
6a5e4ea
dockerfile: fix mirrored images in tests
tonistiigi Mar 6, 2025
9cea4ab
vendor: github.com/docker/docker, docker/cli v28.0.1
thaJeztah Mar 6, 2025
c318805
Merge pull request #5818 from tonistiigi/dockerfile-test-mirror-update
AkihiroSuda Mar 7, 2025
b5286f8
apply x/tools/modernize fixes
tonistiigi Mar 7, 2025
f7cf40f
Merge pull request #5820 from tonistiigi/modernize-fixes
tonistiigi Mar 7, 2025
02e9a89
dockerfile: fix outline cycle on recursive args
tonistiigi Mar 7, 2025
1a1ee09
Merge pull request #5819 from thaJeztah/bump_docker_28.0.1
tonistiigi Mar 7, 2025
cecae00
update RootlessKit to v2.3.4
AkihiroSuda Mar 10, 2025
16fb975
Merge pull request #5823 from tonistiigi/dockerfile-fix-outline
crazy-max Mar 10, 2025
3da6d96
Merge pull request #5825 from AkihiroSuda/rootlesskit
tonistiigi Mar 10, 2025
e72e7ed
solver: fix parent span for preprocess traces
tonistiigi Mar 11, 2025
f46527a
cache: add tracing spans for layer extraction
tonistiigi Mar 11, 2025
91b55e8
solver: fix reading secrets from any session
tonistiigi Mar 11, 2025
cfb8d40
resolver: fix missing user-agent on layer requests
tonistiigi Mar 11, 2025
ec9022a
Merge pull request #5830 from tonistiigi/preprocess-trace-fix
crazy-max Mar 12, 2025
10d1923
Merge pull request #5834 from tonistiigi/fix-user-agent
crazy-max Mar 12, 2025
36b0458
Merge pull request #5833 from tonistiigi/secret-env-fix
crazy-max Mar 12, 2025
25bba31
dockerfile: fix sbom attestation for windows targets
tonistiigi Mar 13, 2025
c40f907
create cdi spec folders in buildkit container
crazy-max Mar 14, 2025
248ff7c
Merge pull request #5840 from crazy-max/buildkit-ctn-cdi-folders
tonistiigi Mar 17, 2025
6636ddb
Update containerd to v2.0.4
dmcgowan Mar 17, 2025
1c671fa
update containerd to v2.0.4
tonistiigi Mar 17, 2025
4b77eec
Merge pull request #5844 from dmcgowan/update-containerd-2.0.4
tonistiigi Mar 17, 2025
630067b
hack: allow building golangci from source for custom versions
tonistiigi Mar 18, 2025
165a87d
don't set go version in golangci-lint config
crazy-max Mar 18, 2025
e9af0f6
Merge pull request #5846 from tonistiigi/update-containerd-v2.0.4
crazy-max Mar 18, 2025
ca8d22b
Merge pull request #5849 from crazy-max/golangci-lint-rm-goversion
tonistiigi Mar 18, 2025
58cddc5
update runc to v1.2.6
tonistiigi Mar 17, 2025
cd26b41
file: fix X mode to be Linux-compatible
tonistiigi Mar 18, 2025
1919184
dockerfile: add suggestion for mistyped target
tonistiigi Mar 18, 2025
b9b7e03
tests: integrate mirror into worker tests
tonistiigi Mar 18, 2025
910c4c3
go.mod: update minimum go version to go1.23
tonistiigi Mar 19, 2025
1bb45af
Merge pull request #5854 from tonistiigi/min-go1.23
AkihiroSuda Mar 19, 2025
ae52dcc
Merge pull request #5845 from tonistiigi/update-runc-v1.2.6
AkihiroSuda Mar 19, 2025
5efd380
Merge pull request #5837 from tonistiigi/dockerfile-wcow-sbom
AkihiroSuda Mar 19, 2025
8dbfa43
fix: reduce default expire time for opaque tokens
MichaelKorn Mar 19, 2025
5e6c75e
vendor: github.com/docker/docker v28.0.2
thaJeztah Mar 20, 2025
c28b7c8
vendor: github.com/docker/cli v28.0.2
thaJeztah Mar 20, 2025
03bab82
exporter: expose image.name constant for the exported image name
jsternberg Mar 20, 2025
38ef6e2
Merge pull request #5862 from jsternberg/exptypes-image-name
tonistiigi Mar 20, 2025
f6c142e
lint: update some sorting code to newer generics based libs
tonistiigi Mar 20, 2025
bb0dd02
Merge pull request #5861 from thaJeztah/bump_docker_28.0.2
tonistiigi Mar 20, 2025
64bb2b1
fix entitlements handling for OnDemand CDI devices
crazy-max Mar 21, 2025
0578dd3
ci: set contents read as default workflow permissions
crazy-max Jan 30, 2025
41a394e
containerimage: container image exporter creates dangling images by d…
jsternberg Mar 21, 2025
bdc7a96
Merge pull request #5858 from jsternberg/moby-dangling-force
tonistiigi Mar 21, 2025
97884c0
Merge pull request #5869 from crazy-max/gha-perms
tonistiigi Mar 21, 2025
3a1ba11
build(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2
dependabot[bot] Mar 21, 2025
161ae19
vendor: tags.cncf.io/container-device-interface v1.0.1
crazy-max Mar 22, 2025
70561ba
Merge pull request #5873 from moby/dependabot/go_modules/github.com/g…
AkihiroSuda Mar 22, 2025
5aba36b
Merge pull request #5867 from crazy-max/fix-cdi-entitlement
tonistiigi Mar 24, 2025
ac8a2b1
Merge pull request #5831 from tonistiigi/trace-extract
tonistiigi Mar 24, 2025
ac123b4
prune: update free-space filter when no max-space set
tonistiigi Mar 10, 2025
d42d8a3
Merge pull request #5856 from crazy-max/update-cdi
tonistiigi Mar 24, 2025
7a94b80
Merge pull request #5859 from MichaelKorn/shorter-auth-default-expire
tonistiigi Mar 25, 2025
586350f
chore(labeler): area/cdi
crazy-max Mar 26, 2025
648ec56
Merge pull request #5881 from crazy-max/labeler-cdi
crazy-max Mar 26, 2025
7f1278d
contrib: support non PCI-based nvidia GPUs for WSL
crazy-max Mar 26, 2025
f85a66c
contrib: check if nvidia drivers are already installed
crazy-max Mar 27, 2025
66016a8
vendor: switch from idtools to moby/sys/user
jsternberg Mar 28, 2025
b3c2303
fix: wcow: fix race condition in localmounter
profnandaa Mar 26, 2025
cccc717
Merge pull request #5791 from jsternberg/moby-sys-user
tonistiigi Apr 3, 2025
d5ecf1c
vendor: github.com/opencontainers/image-spec v1.1.1
thaJeztah Apr 3, 2025
85f7b6f
vendor: github.com/moby/sys/user v0.4.0
thaJeztah Apr 3, 2025
7e2b28d
Merge pull request #5885 from profnandaa/fix-5807-localmounter-race
tonistiigi Apr 3, 2025
c547f24
vendor: github.com/docker/docker v28.0.4
thaJeztah Apr 3, 2025
ce8f8e0
vendor: github.com/docker/cli v28.0.4
thaJeztah Apr 3, 2025
a9ae6b4
tests: client: windows: add various llb.AddMount related tests
profnandaa Apr 4, 2025
c2acf97
Merge pull request #5887 from thaJeztah/bump_docker_28.0.4
tonistiigi Apr 4, 2025
5473cb8
add support for cert-manager.io syntax for tls using tlsdir
GoodOwl Mar 31, 2025
22dc720
Merge pull request #5853 from tonistiigi/mirror-worker-tests
tonistiigi Apr 7, 2025
8540ef4
Merge pull request #5848 from tonistiigi/golangci-source
tonistiigi Apr 7, 2025
c179924
vendor: change usage of docker/pkg/archive to moby/go-archive
jsternberg Apr 7, 2025
4b9861f
Merge pull request #5850 from tonistiigi/file-chmod-x
tonistiigi Apr 7, 2025
b65adf5
Merge pull request #5827 from tonistiigi/prune-min-space-fix
tonistiigi Apr 7, 2025
7d13a98
Merge pull request #5886 from GoodOwl/master
tonistiigi Apr 7, 2025
609baf2
Merge pull request #5888 from profnandaa/wcow-client-tests-mount
tonistiigi Apr 7, 2025
51c2f90
Merge pull request #5891 from jsternberg/moby-go-archive
tonistiigi Apr 7, 2025
0863315
ci: fix freebsd package repository
crazy-max Apr 8, 2025
36d70b6
Merge pull request #5893 from crazy-max/ci-freebsd-repo-fix
crazy-max Apr 8, 2025
e2bf281
Merge pull request #5851 from tonistiigi/dockerfile-target-suggest
crazy-max Apr 8, 2025
f6a7201
remotecache: enable image-manifest by default
tonistiigi Apr 8, 2025
f8c1909
Merge pull request #5880 from crazy-max/contrib-nvidia-nopci
tonistiigi Apr 8, 2025
11d0efb
go.mod: golang.org/x/* latest
AkihiroSuda Apr 9, 2025
889f438
Merge pull request #5892 from tonistiigi/image-manifest-default
crazy-max Apr 9, 2025
40a5c2d
Merge pull request #5855 from AkihiroSuda/deps
AkihiroSuda Apr 9, 2025
37daea9
Merge pull request #5863 from tonistiigi/sort-update
tonistiigi Apr 9, 2025
58faf41
exporter: add session exporter capability
tonistiigi Apr 10, 2025
79124b8
Merge pull request #5907 from tonistiigi/session-exporter
crazy-max Apr 11, 2025
7ae0d6a
source: add metadata-only transfer option for local source
tonistiigi Apr 9, 2025
c66c687
exporter: allow session exporter to access refs
tonistiigi Apr 11, 2025
50851da
Merge pull request #5908 from tonistiigi/session-exporter-ref-access
crazy-max Apr 11, 2025
43fc7e8
Merge pull request #5897 from tonistiigi/local-metadata-transfer
crazy-max Apr 11, 2025
4fc3a2d
hack: aggregate protobuf includes to a separate stage
jsternberg Apr 14, 2025
7fbda52
Merge pull request #5911 from jsternberg/protobuf-generated-files
tonistiigi Apr 14, 2025
5848d95
feat(grpc): preserve unknown detail types when decoding gRPC errors
fiam Apr 10, 2025
3f0a42e
vendor: github.com/moby/go-archive v0.1.0
thaJeztah Apr 16, 2025
9cae715
fix: wcow: simplify CNI setup for windows
profnandaa Apr 16, 2025
b85a5b1
Merge pull request #5916 from thaJeztah/bump_archive
crazy-max Apr 16, 2025
994e666
fix(debug): use correct path when copying delve to buildkit-linux-debug
fiam Apr 16, 2025
3b3a974
chore: update broken links to https://docs.docker.com/registry
fiam Apr 17, 2025
091a5d1
vendor: github.com/docker/docker, github.com/docker/cli v28.1.0
thaJeztah Apr 16, 2025
3cabacf
control: make sure sending nil cache options does not panic
tonistiigi Apr 17, 2025
a8b7248
Merge pull request #5921 from fiam/alberto/update-deprecated-links
tonistiigi Apr 17, 2025
d631837
Merge pull request #5919 from fiam/alberto/fix-dlv-orig-path
tonistiigi Apr 17, 2025
90ad1f9
Merge pull request #5917 from profnandaa/fix-windows-cni-setup
tonistiigi Apr 17, 2025
2f8b8c8
Improve documentation of S3 authentication
bpaquet Apr 17, 2025
ec67db2
Merge pull request #5926 from bpaquet/patch-1
tonistiigi Apr 17, 2025
e143ae1
Merge pull request #5918 from thaJeztah/bump_engine_28.1
tonistiigi Apr 17, 2025
e363cc0
vendor: github.com/vbatts/tar-split v0.12.1 (indirect)
thaJeztah Apr 19, 2025
74c648a
vendor: github.com/containerd/containerd v2.0.5
thaJeztah Apr 19, 2025
38dfe62
vendor: github.com/docker/docker v28.1.1
thaJeztah Apr 19, 2025
26e4634
vendor: github.com/docker/cli v28.1.1
thaJeztah Apr 19, 2025
a5a7a3f
build(deps): bump softprops/action-gh-release from 2.2.1 to 2.2.2
dependabot[bot] Apr 21, 2025
de8570d
vendor: update fsutil to master
jsternberg Apr 21, 2025
d37e797
Merge pull request #5937 from jsternberg/apple-xattrs
tonistiigi Apr 21, 2025
7aea187
Merge pull request #5934 from thaJeztah/bump_docker_28.1.1
tonistiigi Apr 21, 2025
ff660b7
ci: fix vagrant build
crazy-max Apr 22, 2025
0573ea1
Merge pull request #5936 from moby/dependabot/github_actions/softprop…
crazy-max Apr 22, 2025
c6145c2
Merge pull request #5940 from crazy-max/ci-fix-vagrant
tonistiigi Apr 22, 2025
edc2060
Merge pull request #5932 from thaJeztah/bump_tar_split
AkihiroSuda Apr 23, 2025
f2ce016
Merge pull request #5925 from tonistiigi/cache-nil-fix
AkihiroSuda Apr 23, 2025
07ba378
client: reorder arguments for integration test
jsternberg Apr 25, 2025
9def9e5
Merge pull request #5945 from jsternberg/client-integration-test-order
tonistiigi Apr 25, 2025
4077bb3
buildctl: fix tlsdir handling logic for cert-manager.io
GoodOwl Apr 28, 2025
c5d01bc
frontend/dockerui/build.go: split normalizePlatform()
AkihiroSuda Apr 23, 2025
57ab179
frontend/dockerui/build: fix "no scan targets for linux/arm64/v8"
AkihiroSuda Apr 23, 2025
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
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