Sebastiaan van Stijn
3fe7dc5cb4
Dockerfile: update compose to v2.36.2
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 22:50:20 +02:00
Sebastiaan van Stijn
9eae2a8976
Dockerfile: update buildx to v0.24.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 22:49:34 +02:00
Sebastiaan van Stijn
a29e53dab7
Merge pull request #6111 from thaJeztah/update_deprecations
...
docs: deprecated: update status for non-standard fields in image inspect
2025-05-27 16:57:52 +02:00
Sebastiaan van Stijn
da0c976fb0
docs: deprecated: update status for non-standard fields in image inspect
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 16:14:00 +02:00
Sebastiaan van Stijn
17dc2880fa
Merge pull request #6109 from thaJeztah/image_rm_platform
...
image rm: add --platform option
2025-05-27 12:11:26 +02:00
Sebastiaan van Stijn
bb0ca9f9ef
image rm: add --platform option
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 10:58:11 +02:00
Sebastiaan van Stijn
f567263802
Merge pull request #6099 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker 26db31fdab62 (v28.2-dev)
2025-05-27 10:49:43 +02:00
Sebastiaan van Stijn
7775f01caa
vendor: github.com/docker/docker 26db31fdab62 (v28.2-dev)
...
full diff: https://github.com/docker/docker/compare/v28.2.0-rc.2...26db31fdab628a2345ed8f179e575099384166a9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-27 09:20:06 +02:00
Paweł Gronowski
908ff04d6e
Merge pull request #6108 from thaJeztah/bump_engine_28.2
...
vendor: github.com/docker/docker v28.2.0-rc.2
2025-05-26 13:17:15 +00:00
Sebastiaan van Stijn
519bc2daa1
vendor: github.com/docker/docker v28.2.0-rc.2
...
no changes in vendored code
full diff: https://github.com/docker/docker/compare/f4ffeb8c38b3...v28.2.0-rc.2
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-26 14:06:52 +02:00
Paweł Gronowski
b2c4452acb
Merge pull request #6101 from thaJeztah/deprecated_api_versions_removed
...
docs: deprecated: mark API < v1.24 as "removed"
v28.2.0-rc.2
2025-05-22 12:09:34 +00:00
Sebastiaan van Stijn
3e287df661
Merge pull request #6100 from thaJeztah/fluentd_async_connect_removed
...
docs: deprecated: mark `fluentd-async-connect` as "removed"
2025-05-22 14:09:24 +02:00
Paweł Gronowski
f1fb3e3011
Merge pull request #5282 from willww64/fix-configfile-relative-symlink
...
correctly handle configuration file saving when it is a relative symlink
2025-05-22 12:08:40 +00:00
Sebastiaan van Stijn
9c8666c106
docs: deprecated: mark API < v1.24 as "removed"
...
Support for API versions lower than v1.24 was removed in v26.0.
The DOCKER_MIN_API_VERSION environment-variable is still present
in the docker daemon, but can currently only be used to raise the
minimum version.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 13:37:44 +02:00
Sebastiaan van Stijn
21d0466ff1
docs: deprecated: mark fluentd-async-connect
as "removed"
...
The daemon still has migration code in place, but no longer accepts
the option for new containers, so marking it as "removed";
49ec488036
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 13:28:18 +02:00
Sebastiaan van Stijn
1d3b933ac3
Merge pull request #6098 from thaJeztah/deprecated_inspect_fields
...
docs: deprecated: set Container and ContainerConfig fields to "removed"
2025-05-22 11:54:10 +02:00
Sebastiaan van Stijn
649d088ddf
Merge pull request #6096 from thaJeztah/graphdriver_plugin_deprecation
...
docs: update deprecation status of graphdriver-plugins to "removed"
2025-05-22 11:49:53 +02:00
Paweł Gronowski
e135563c1f
Merge pull request #6097 from vvoland/28.x
...
vendor: github.com/docker/docker v28.2.0-dev (f4ffeb8c38b3)
2025-05-22 09:48:20 +00:00
Sebastiaan van Stijn
026ae7a11f
docs: deprecated: set Container and ContainerConfig fields to "removed"
...
These fields have been removed in v26.0 (API v1.45 and up), and are always
omitted when using the containerd image store;
03cddc62f4
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 11:45:57 +02:00
Paweł Gronowski
681c705be6
vendor: github.com/docker/docker v28.2.0-dev (f4ffeb8c38b3)
...
full diff: b590eff717...f4ffeb8c38
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-05-22 11:38:51 +02:00
Sebastiaan van Stijn
bdd994b79a
docs: update deprecation status of graphdriver-plugins to "removed"
...
This functionality, was removed and the DOCKERD_DEPRECATED_GRAPHDRIVER_PLUGINS
no longer can be used in v28.0;
42ca9154e9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 11:29:37 +02:00
Will Wang
1015d15621
fix bug with config file being a relative symlink
...
- use filepath.EvalSymlink instead of check with filepath.IsAbs
- allow for dangling symlinks
- extract path from error when NotExist error occurs
Co-authored-by: Paweł Gronowski <me@woland.xyz>
Co-authored-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Will Wang <willww64@gmail.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 11:11:07 +02:00
Sebastiaan van Stijn
ae922ec177
Merge pull request #6092 from thaJeztah/hijack_oncefunc
...
cli/command/container: hijackedIOStreamer.setupInput: use sync.OnceFunc
2025-05-22 10:02:11 +02:00
Sebastiaan van Stijn
881c68f690
Merge pull request #4966 from Benehiko/relative-mount-path
...
feat: relative parent paths on bind mount src
2025-05-22 08:38:06 +02:00
Alano Terblanche
761285bfee
feat: relative parent paths on bind mount src
...
Signed-off-by: Alano Terblanche <18033717+Benehiko@users.noreply.github.com>
2025-05-22 08:15:32 +02:00
Sebastiaan van Stijn
f23ec25a12
Merge pull request #6095 from thaJeztah/update_schema1_deprecation
...
docs: move deprecation status of legacy schema1 images to "removed"
2025-05-22 08:06:45 +02:00
Sebastiaan van Stijn
565b0a2822
Merge pull request #6094 from thaJeztah/fix_isautomated_status
...
docs: fix deprecation status for IsAutomated
2025-05-22 07:58:53 +02:00
Sebastiaan van Stijn
4be9afb801
Merge pull request #6086 from thaJeztah/golangci_tweaks
...
golangci-lint: enable more linters, and some minor linting fixes
2025-05-22 07:57:53 +02:00
Sebastiaan van Stijn
f05025caf9
docs: move deprecation status of legacy schema1 images to "removed"
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 01:10:13 +02:00
Sebastiaan van Stijn
32a8f4c420
docs: fix deprecation status for IsAutomated
...
Follow-up to 6e4315f599069c2172a51615da9e4469c5878b10, where
I forgot to update the status column.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-22 00:34:13 +02:00
Paweł Gronowski
68ef98d801
Merge pull request #6093 from vvoland/vendor-docker
...
vendor: github.com/docker/docker v28.2.0-dev (b590eff717b3)
2025-05-21 17:51:04 +00:00
Paweł Gronowski
63f2984336
vendor: github.com/docker/docker v28.2.0-dev (b590eff717b3)
...
full diff: 8601b22f5d...b590eff717
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2025-05-21 19:45:33 +02:00
Sebastiaan van Stijn
0ee20b8543
Merge pull request #5995 from vvoland/swarm-init-cacert
...
swarm/init: Fix `--external-ca` ignoring `cacert` option
2025-05-21 18:31:14 +02:00
Paweł Gronowski
c07cd8aaad
Merge pull request #6091 from thaJeztah/remove_deprecated_isautomated
...
search: remove deprecated "IsAutomated" placeholder
2025-05-21 15:43:36 +00:00
Sebastiaan van Stijn
bf2eea31b5
cli/command/container: hijackedIOStreamer.setupInput: use sync.OnceFunc
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-21 17:34:51 +02:00
Sebastiaan van Stijn
6e4315f599
search: remove deprecated "IsAutomated" placeholder
...
IsAutomated was deprecated in 4fc3f0e6f6b93cebe591a22e9b4d514f599c2520
(docker v25.0), and marked for removal in docker 26.0 (which we missed).
This removes it.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-21 17:13:59 +02:00
Paweł Gronowski
97e060e7b1
Merge pull request #6042 from thaJeztah/carry_5804_docker_ps_platform
...
docker ps: add "Platform" as formatting option
2025-05-21 12:28:57 +00:00
Sebastiaan van Stijn
67c0be4b05
docker ps: allow formatting as JSON
...
With this patch:
docker ps --format 'table {{.Names}}\t{{.Platform}}'
NAMES PLATFORM
optimistic_nightingale linux/arm64
mycontainer linux/arm64/v8
trusting_goldstine linux/arm64
docker ps --format '{{.Platform}}'
linux/arm64
linux/arm64/v8
linux/arm64
docker ps --format '{{json .Platform}}'
{"architecture":"arm64","os":"linux"}
{"architecture":"arm64","os":"linux","variant":"v8"}
{"architecture":"arm64","os":"linux"}
docker ps --format 'json'
{"Command":"\"/bin/bash\"","CreatedAt":"2025-05-13 10:12:19 +0000 UTC","ID":"e8b3b2d604f1","Image":"docker-cli-dev","Labels":"desktop.docker.io/binds/0/Source=/Users/thajeztah/go/src/github.com/docker/cli,desktop.docker.io/binds/0/SourceKind=hostFile,desktop.docker.io/binds/0/Target=/go/src/github.com/docker/cli,desktop.docker.io/mounts/0/Source=/var/run/docker.sock,desktop.docker.io/mounts/0/SourceKind=dockerSocketProxied,desktop.docker.io/mounts/0/Target=/var/run/docker.sock,desktop.docker.io/ports.scheme=v2","LocalVolumes":"1","Mounts":"/host_mnt/User…,docker-cli-dev…,/run/host-serv…","Names":"optimistic_nightingale","Networks":"bridge","Platform":{"architecture":"arm64","os":"linux"},"Ports":"","RunningFor":"38 minutes ago","Size":"0B","State":"running","Status":"Up 38 minutes"}
{"Command":"\"/docker-entrypoint.…\"","CreatedAt":"2025-05-13 09:58:01 +0000 UTC","ID":"c93b808dd54e","Image":"nginx:alpine","Labels":"desktop.docker.io/ports.scheme=v2,maintainer=NGINX Docker Maintainers \u003cdocker-maint@nginx.com\u003e","LocalVolumes":"0","Mounts":"","Names":"mycontainer","Networks":"bridge","Platform":{"architecture":"arm64","os":"linux","variant":"v8"},"Ports":"80/tcp","RunningFor":"53 minutes ago","Size":"0B","State":"running","Status":"Up 53 minutes"}
{"Command":"\"/usr/bin/gotty --ti…\"","CreatedAt":"2025-05-13 07:31:18 +0000 UTC","ID":"cbb981b06e46","Image":"thajeztah/dockershell:latest","Labels":"desktop.docker.io/ports.scheme=v2,com.thajeztah.docker-shell=1","LocalVolumes":"0","Mounts":"","Names":"trusting_goldstine","Networks":"bridge","Platform":{"architecture":"arm64","os":"linux"},"Ports":"0.0.0.0:55000-\u003e8080/tcp","RunningFor":"3 hours ago","Size":"0B","State":"running","Status":"Up 3 hours"}
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-21 12:44:38 +02:00
Jonathan A. Sternberg
7aa6c79c0a
docker ps: add "Platform" as formatting option
...
docker ps --format 'table {{.ID}}\t{{.Image}}{{.Command}}\t{{.RunningFor}}\t{{.Status}}\t{{.Ports}}\t{{.Names}}\t{{.Platform}}'
CONTAINER ID IMAGECOMMAND CREATED STATUS PORTS NAMES PLATFORM
e422855eac55 docker-cli-dev"/bin/bash" 12 minutes ago Up 12 minutes strange_jennings linux/arm64
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-21 12:43:01 +02:00
Sebastiaan van Stijn
af090512a6
Merge pull request #6084 from thaJeztah/bump_engine
...
vendor: github.com/docker/docker 8601b22f5db5 (v28.2-dev)
2025-05-20 10:57:13 +02:00
Sebastiaan van Stijn
067587bf15
Merge pull request #6085 from thaJeztah/bump_cli_docs_tool
...
vendor: github.com/docker/cli-docs-tool v0.10.0
2025-05-20 09:30:29 +02:00
Sebastiaan van Stijn
ed5d9757c9
vendor: github.com/docker/docker 8601b22f5db5 (v28.2-dev)
...
full diff: https://github.com/docker/docker/compare/v28.2.0-rc.1...8601b22f5db511354d643a7722d11d33aa7ae13f
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 22:47:14 +02:00
Sebastiaan van Stijn
89f38282fd
vendor: github.com/docker/docker v28.2.0-rc.1
...
no diff: same commit, but tagged
full diff: https://github.com/docker/docker/compare/7937f0846c13...v28.2.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 22:40:55 +02:00
Sebastiaan van Stijn
9d027dff40
Dockerfile: update golangci-lint to v2.1.5
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:16:23 +02:00
Sebastiaan van Stijn
d1e9946ab8
golangci-lint: enable more linters
...
Enables the asasalint, exptostd, fatcontext, gocheckcompilerdirectives,
iface, makezero, and spancheck linters.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:14:13 +02:00
Sebastiaan van Stijn
615ffee13b
golangci-lint: enable nosprintfhostport linter
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:14:12 +02:00
Sebastiaan van Stijn
c1313a92a0
golangci-lint: enable makezero linter
...
cli/command/container/formatter_stats_test.go:339:11: append to slice `stats` with non-zero initialized length (makezero)
stats = append(stats, entry)
^
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:14:12 +02:00
Sebastiaan van Stijn
18e911c958
cli/command/container: TestContainerStatsContextWriteTrunc: use subtests
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:14:12 +02:00
Sebastiaan van Stijn
d65f0c9bbf
golangci-lint: enable exhaustive linter
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:14:04 +02:00
Sebastiaan van Stijn
b64d9b3b19
golangci-lint: replace nilerr for nilnesserr
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2025-05-19 20:07:15 +02:00