Sebastiaan van Stijn and GitHub
b73653ef41
Merge pull request #5832 from vvoland/swarm-fix-image-subpath
...
cli/compose: Fix Image Subpath
2025-02-17 12:53:34 +01:00
Paweł Gronowski
4cc2dce807
cli/compose: Fix Image Subpath
...
handleImageToMount was an exact copy of handleBindToMount instead of
populating the ImageOptions.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-02-17 12:37:24 +01:00
Sebastiaan van Stijn and GitHub
c542ad7443
Merge pull request #5830 from lalyos/fix-entrypoint-option-test
...
Fix entrypoint parsing logic
2025-02-17 12:18:51 +01:00
Lajos Papp
e868f0f580
cli/command/container/opts_test: Fix entrypoint parsing logic
...
Right now the test passes even if you change the expected value.
It passes if the array has 1 element.
Signed-off-by: Lajos Papp <lalyos@yahoo.com >
2025-02-17 11:10:50 +00:00
Sebastiaan van Stijn and GitHub
ca295779cf
Merge pull request #5831 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker 57d4d23825f4 (master, v28.0.0-rc.2)
2025-02-17 12:04:40 +01:00
Sebastiaan van Stijn
c2ba77de49
vendor: github.com/docker/docker 57d4d23825f4 (master, v28.0.0-rc.2)
...
no changes in vendored code
full diff: https://github.com/docker/docker/compare/5cc3f1dab895...57d4d23825f458865ca48ec03c6ee14e1be2e35e
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-17 11:57:23 +01:00
Sebastiaan van Stijn and GitHub
f488a75d6d
Merge pull request #5825 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker 5cc3f1dab895 (master, v28.0.0-rc.2)
2025-02-14 19:40:38 +01:00
Sebastiaan van Stijn
1d3eb6f95b
vendor: github.com/docker/docker 5cc3f1dab895 (master, v28.0.0-rc.2)
...
full diff: https://github.com/docker/docker/compare/b570831cc3a3...5cc3f1dab8953c1e1f70332efecadd094de7ec0b
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-14 19:22:53 +01:00
Sebastiaan van Stijn
591fcb273a
vendor: golang.org/x/sys v0.29.0
...
full diff: https://github.com/golang/sys/compare/v0.28.0...v0.29.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-14 17:29:51 +01:00
Paweł Gronowski and GitHub
c9e7daec81
Merge pull request #5755 from LaurentGoderre/image-mount-subpath
...
Add image mount options
2025-02-13 13:09:12 +00:00
Sebastiaan van Stijn and GitHub
b2ac898781
Merge pull request #5822 from vvoland/pr-changelog-desc
...
gha: Mirror PR template and validate PR workflow from moby
2025-02-13 13:55:00 +01:00
Sebastiaan van Stijn and GitHub
0eda4c51d7
Merge pull request #5818 from mohammedfuta2000/5814-limit-completion
...
Restrict completion to one suggestion on run, history, push, tag
2025-02-13 13:54:08 +01:00
Paweł Gronowski
1edc4e07d4
gha: Mirror PR template and validate PR workflow from moby
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com >
2025-02-12 14:54:10 +01:00
Mohammed Aminu Futa
a656dfd409
Restrict completion for some commands with a limit paramter for ImageNames
...
Previously, multiple suggestions were provided when completing
commands like `run`, `history` and `push`. This change
limits completion to a single suggestion for the above and 2 suggestions for `tag`
Signed-off-by: Mohammed Aminu Futa <mohammedfuta2000@gmail.com >
2025-02-12 12:42:19 +00:00
Paweł Gronowski and GitHub
a3f758fc13
Merge pull request #5820 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker b570831cc3a3 (master, v28.0.0-rc.2)
2025-02-12 10:53:30 +00:00
Laurent Goderre
04b1b4e08a
Add image mount options
...
Signed-off-by: Laurent Goderre <laurent.goderre@docker.com >
2025-02-11 12:19:12 -05:00
Sebastiaan van Stijn
c6a7f9a646
vendor: github.com/docker/docker b570831cc3a3 (master, v28.0.0-rc.2)
...
full diff: https://github.com/docker/docker/compare/v28.0.0-rc.1...b570831cc3a3fcfe4edc96af4c249199b019c7dd
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-11 18:06:55 +01:00
Sebastiaan van Stijn and GitHub
1e3e1bd5f4
Merge pull request #5812 from thaJeztah/bump_gofumpt
...
Dockerfile.dev: bump mvdan.cc/gofumpt to v0.7.0
2025-02-11 16:07:46 +01:00
Sebastiaan van Stijn and GitHub
235e657b25
Merge pull request #5813 from thaJeztah/bump_goversioninfo
...
Dockerfile.dev: bump github.com/josephspurrier/goversioninfo to v1.4.1
2025-02-11 16:06:48 +01:00
Sebastiaan van Stijn and GitHub
b7e4fac496
Merge pull request #5819 from thaJeztah/bump_grpc
...
vendor: google.golang.org/grpc v1.69.4
2025-02-11 16:06:16 +01:00
Sebastiaan van Stijn
018bf1b237
vendor: google.golang.org/grpc v1.69.4
...
full diff: https://github.com/grpc/grpc-go/compare/v1.68.1...v1.69.4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-11 15:55:27 +01:00
Sebastiaan van Stijn and GitHub
516e822d4c
Merge pull request #5817 from thaJeztah/bump_pflag
...
vendor: github.com/spf13/pflag v1.0.6, remove local IPNetSliceVar fork
2025-02-11 12:50:51 +01:00
Sebastiaan van Stijn
558ebd5922
vendor: github.com/spf13/pflag v1.0.6, remove local IPNetSliceVar fork
...
- Add exported functions to preserve pkg/flag compatibility
- Add IPNetSlice and unit tests
- Revert the local fork added in 80a2256478 ,
which was pending the upstream feature to be shipped in a release.
full diff: https://github.com/spf13/pflag/compare/v1.0.5...v1.0.6
Revert "Swarm init: use local IPNetSliceValue"
This reverts commit 80a2256478 .
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-11 12:19:51 +01:00
Paweł Gronowski and GitHub
0af65dc566
Merge pull request #5816 from thaJeztah/connhelper_context
...
cli/connhelper/commandcon.New: pass context with WithoutCancel
2025-02-11 11:00:40 +00:00
Sebastiaan van Stijn
2c17edf804
cli/connhelper/commandcon.New: pass context with WithoutCancel
...
Passing the context to the constructor, but explicitly making it
non-cancelable and add a comment describing why context-cancelation
should not be propagated.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-10 21:41:48 +01:00
Sebastiaan van Stijn and GitHub
e6ee7ea94b
Merge pull request #5730 from thelovekesh/update/help-template
...
Remove preceding white space from cobra help template
2025-02-10 19:02:55 +01:00
Paweł Gronowski and GitHub
f7c3d1c796
Merge pull request #5815 from thaJeztah/bump_buildx
...
Dockerfile: dev-container: update buildx v0.20.1
2025-02-10 10:36:10 +00:00
Paweł Gronowski and GitHub
661d079b1e
Merge pull request #5805 from thaJeztah/vendor_28.0.0-rc.1
...
vendor: github.com/docker/docker/v28.0.0-rc.1
2025-02-10 10:32:17 +00:00
thelovekesh and Sebastiaan van Stijn
61a3b4bd50
Remove preceding white space from cobra help template
...
Signed-off-by: thelovekesh <lovekesh.kumar@rtcamp.com >
Signed-off-by: Lovekesh Kumar <lovekesh.kumar@rtcamp.com >
2025-02-10 10:51:25 +01:00
Sebastiaan van Stijn and GitHub
bca1f17da8
Merge pull request #5808 from thaJeztah/bump_gotest_tools
...
vendor: gotest.tools/v3 v3.5.2
2025-02-10 10:49:09 +01:00
Sebastiaan van Stijn and GitHub
3560bdded9
Merge pull request #5809 from thaJeztah/bump_golangci_lint
...
Dockerfile: update golangci-lint to v1.63.4
2025-02-10 10:47:35 +01:00
Sebastiaan van Stijn
1acf32cdc6
Dockerfile: dev-container: update buildx v0.20.1
...
Also align versions in the Dockerfile.dev Dockerfile
full diff: https://github.com/docker/buildx/compare/v0.20.0...v0.20.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-10 10:09:42 +01:00
Sebastiaan van Stijn and GitHub
7a72f38947
Merge pull request #5810 from thaJeztah/bump_gotestsum
...
Dockerfile: bump gotest.tools/gotestsum v1.12.0
2025-02-10 09:37:21 +01:00
Sebastiaan van Stijn
bb74513ef3
Dockerfile.dev: bump github.com/josephspurrier/goversioninfo to v1.4.1
...
Re-align the version with the main Dockerfile, which was missed when
I updated the version in 93a931920b
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-09 17:07:52 +01:00
Sebastiaan van Stijn
7b3f264a69
Dockerfile.dev: bump mvdan.cc/gofumpt to v0.7.0
...
- full diff: https://github.com/mvdan/gofumpt/compare/v0.6.0...v0.7.0
- release notes: https://github.com/mvdan/gofumpt/releases/tag/v0.7.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-09 17:04:33 +01:00
Sebastiaan van Stijn
aecc31039d
Dockerfile: bump gotest.tools/gotestsum v1.12.0
...
full diff: https://github.com/gotestyourself/gotestsum/compare/v1.10.0...v1.12.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-09 16:36:17 +01:00
Sebastiaan van Stijn
e1a9d1cd37
Dockerfile: update golangci-lint to v1.63.4
...
full diff: https://github.com/golangci/golangci-lint/compare/v1.62.0...v1.63.4
Changelog: https://golangci-lint.run/product/changelog/#v1634
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-09 16:29:41 +01:00
Sebastiaan van Stijn
df8c19d8fd
vendor: gotest.tools/v3 v3.5.2
...
- un-deprecates `assert.ErrorType`, `cmp.ErrorType`
- assert: ensure message is always displayed and fix under bazel
- poll: Continue(): use format.Message for formatting
- fix TestFromDirSymlink on Windows due to missing drive-letter
- fix various linting issues and minor bugs
full diff: https://github.com/gotestyourself/gotest.tools/compare/v3.5.1...v3.5.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-09 13:39:45 +01:00
Sebastiaan van Stijn
3c0d703acd
vendor: github.com/docker/docker/v28.0.0-rc.1
...
no diff; same code but tagged
full diff: https://github.com/docker/docker/compare/6c3797923dcb...v28.0.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-07 01:38:33 +01:00
Sebastiaan van Stijn and GitHub
bf65a46c2c
Merge pull request #5803 from thaJeztah/build_tags
...
build / prepare (push) Has been cancelled
build / build (push) Has been cancelled
build / bin-image (push) Has been cancelled
build / prepare-plugins (push) Has been cancelled
build / plugins (push) Has been cancelled
codeql / codeql (push) Has been cancelled
e2e / e2e (alpine, 23, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, 23, experimental) (push) Has been cancelled
e2e / e2e (alpine, 23, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, 26.1, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, 26.1, experimental) (push) Has been cancelled
e2e / e2e (alpine, 26.1, non-experimental) (push) Has been cancelled
e2e / e2e (alpine, 27, connhelper-ssh) (push) Has been cancelled
e2e / e2e (alpine, 27, experimental) (push) Has been cancelled
e2e / e2e (alpine, 27, non-experimental) (push) Has been cancelled
e2e / e2e (debian, 23, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, 23, experimental) (push) Has been cancelled
e2e / e2e (debian, 23, non-experimental) (push) Has been cancelled
e2e / e2e (debian, 26.1, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, 26.1, experimental) (push) Has been cancelled
e2e / e2e (debian, 26.1, non-experimental) (push) Has been cancelled
e2e / e2e (debian, 27, connhelper-ssh) (push) Has been cancelled
e2e / e2e (debian, 27, experimental) (push) Has been cancelled
e2e / e2e (debian, 27, non-experimental) (push) Has been cancelled
test / ctn (push) Has been cancelled
test / host (macos-13) (push) Has been cancelled
test / host (macos-14) (push) Has been cancelled
validate / validate (lint) (push) Has been cancelled
validate / validate (shellcheck) (push) Has been cancelled
validate / validate (update-authors) (push) Has been cancelled
validate / validate (validate-vendor) (push) Has been cancelled
validate / validate-md (push) Has been cancelled
validate / validate-make (manpages) (push) Has been cancelled
validate / validate-make (yamldocs) (push) Has been cancelled
add //go:build directives to prevent downgrading to go1.16 language
v28.0.0-rc.1
2025-02-06 19:59:01 +01:00
Sebastiaan van Stijn
2815d2337b
add //go:build directives to prevent downgrading to go1.16 language
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-06 19:52:03 +01:00
Paweł Gronowski and GitHub
c962084462
Merge pull request #5754 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker 6c3797923dcb (master, v28.0-dev)
2025-02-06 18:26:54 +00:00
Sebastiaan van Stijn
01da8a582f
vendor: github.com/docker/docker 6c3797923dcb (master, v28.0-dev)
...
full diff: https://github.com/docker/docker/compare/69687190936d...6c3797923dcb082370a09f9381511da10120bd7b
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-06 19:16:50 +01:00
Paweł Gronowski and GitHub
11999b16e4
Merge pull request #5778 from laurazard/add-cause-statuserr
...
Don't print "context canceled" if user terminated
2025-02-06 14:20:38 +00:00
Paweł Gronowski and GitHub
eec977bbea
Merge pull request #5800 from thaJeztah/bump_version
...
bump version to v28.0.0-dev
2025-02-06 13:30:15 +00:00
Laura Brehm
76e0088b5c
minor cleanup
...
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2025-02-06 14:16:45 +01:00
Laura Brehm
85a77af591
Don't print "context canceled" if user terminated
...
Without breaking API compatibility, this patch allows us to know whether
a returned `cli/StatusError` was caused by a context cancellation or
not, which we can use to provide a nicer UX and not print the Go
"context canceled" error message if this is the cause.
Signed-off-by: Laura Brehm <laurabrehm@hey.com >
2025-02-06 14:16:20 +01:00
Sebastiaan van Stijn
7e83ff7735
bump version to v28.0.0-dev
...
This file is only used as default if no version is specified. We
should probably get rid of this, but let's update it to better
reflect the version that developer builds are building.
https://github.com/docker/cli/blob/d48fb9f9f7bdb6e0ef37dbde68612a1704cad46e/docker.Makefile#L22
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2025-02-06 01:41:59 +01:00
Sebastiaan van Stijn and GitHub
d48fb9f9f7
Merge pull request #5795 from vvoland/update-go
...
update to go1.23.6
2025-02-05 19:23:43 +01:00
Paweł Gronowski and GitHub
eb6546b523
Merge pull request #5774 from Benehiko/improve-login-text
...
login: improve text on already authenticated and on OAuth login
2025-02-05 12:06:53 +00:00