Sebastiaan van Stijn
b9e1ad3d19
update to go1.19.5
...
go1.19.5 (released 2023-01-10) includes fixes to the compiler, the linker,
and the crypto/x509, net/http, sync/atomic, and syscall packages. See the
Go 1.19.5 milestone on the issue tracker for details:
https://github.com/golang/go/issues?q=milestone%3AGo1.19.5+label%3ACherryPickApproved
full diff: https://github.com/golang/go/compare/go1.19.4...go1.19.5
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-11 00:41:55 +01:00
Sebastiaan van Stijn
f163d2441e
Merge pull request #3956 from thaJeztah/update_btrfs_status
...
deprecated: update deprecation for btrfs on CentOS/RHEL 7
2023-01-10 10:30:18 +01:00
Sebastiaan van Stijn
d1f02a2733
deprecated: update deprecation for btrfs on CentOS/RHEL 7
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-09 19:04:33 +01:00
Sebastiaan van Stijn
4c0a3c3288
Merge pull request #3954 from thaJeztah/deprecate_centos7_btrfs
...
deprecation: mark btrfs driver as deprecated for CentOS 7 and RHEL7
2023-01-09 14:51:26 +01:00
Sebastiaan van Stijn
bdc7e37b30
deprecation: mark btrfs driver as deprecated for CentOS 7 and RHEL7
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-09 14:34:59 +01:00
Sebastiaan van Stijn
f3ed6db2b1
Merge pull request #3952 from thaJeztah/docs_inspect_trailing_whitespace
...
docs: inspect: remove trailing whitespace from example
2023-01-07 12:48:46 +01:00
Sebastiaan van Stijn
35d7fbc818
docs: inspect: remove trailing whitespace from example
...
Current versions of the docs generator take this into account, but on
the 20.10 branch, the trailing whitespace can make the YAML generator
switch to use "compact" formatting, which is hard to read, and hard
to review diffs when updating.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-07 12:24:14 +01:00
Sebastiaan van Stijn
d32f0484eb
Merge pull request #3924 from crazy-max/docs-ref-code-delim
...
cmd: set double quotes as code delimiter
2023-01-06 23:18:23 +01:00
Kevin Alvarez
79c9e527a3
docs: generate markdown
...
Keep frontmatter for docker, dockerd and index markdown files.
Also needs to move cli.md > docker.md before generation and
then move it back because cli.md is needed for yaml generation on docs
website: https://github.com/docker/cli/pull/3924#discussion_r1059986605
Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 22:36:47 +01:00
CrazyMax
186dcf30b1
docs: fix anchors
...
Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 22:36:03 +01:00
Kevin Alvarez
c49f1ccb49
update cli-docs-tool to v0.5.1
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-06 19:15:34 +01:00
CrazyMax
5a5b7a61d5
contrib: fix engine logging docs link
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-06 19:15:34 +01:00
CrazyMax
4595ce588c
cmd: set double quotes as code delimiter
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-01-06 19:15:33 +01:00
Sebastiaan van Stijn
9d1ace9aeb
Merge pull request #3949 from thaJeztah/fix_more_anchors
...
docs: fix some more anchors
2023-01-06 19:12:13 +01:00
Sebastiaan van Stijn
81b051298e
docs: fix some more anchors
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 18:45:32 +01:00
Sebastiaan van Stijn
99023cb372
Merge pull request #3948 from thaJeztah/fix_anchor_links
...
docs: fix anchor links
2023-01-06 17:45:52 +01:00
Sebastiaan van Stijn
71e561780a
docs: fix anchor links
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 17:29:40 +01:00
Sebastiaan van Stijn
3613fcc864
docs: deprecated: fix link to Docker Desktop 3.2.0 release notes
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 16:55:50 +01:00
Sebastiaan van Stijn
e5b29b8975
Merge pull request #3943 from vvoland/fix-test-removeforce
...
cli/rm_test: Fix TestRemoveForce race condition
2023-01-06 15:39:39 +01:00
Paweł Gronowski
b811057181
cli/rm_test: Fix TestRemoveForce race condition
...
Synchronize append on the `removed` slice with mutex because
containerRemoveFunc is called in parallel for each removed container by
`container rm` cli command.
Also reduced the shared access area by separating the scopes of test
cases.
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2023-01-04 10:57:45 +01:00
Sebastiaan van Stijn
850fb6921c
Merge pull request #3936 from thaJeztah/strings_cut
...
Replace uses of `strings.Split(N)` with `strings.Cut()`
2022-12-29 19:02:20 +01:00
Sebastiaan van Stijn
42de5cc7f0
service/logs: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:31 +01:00
Sebastiaan van Stijn
3fa18636ec
internal/test: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:31 +01:00
Sebastiaan van Stijn
c8bd8932a1
cli/config: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:31 +01:00
Sebastiaan van Stijn
3bed830a27
cli/compose: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:31 +01:00
Sebastiaan van Stijn
cb19bf9f7d
cli/command: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:31 +01:00
Sebastiaan van Stijn
acc45f5494
cli/command/volume: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:30 +01:00
Sebastiaan van Stijn
806f9eab68
cli/command/swarm: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:30 +01:00
Sebastiaan van Stijn
b3557b2840
cli/command/stack: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:30 +01:00
Sebastiaan van Stijn
2b06c0c42c
cli/command/service: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:30 +01:00
Sebastiaan van Stijn
f29992c0f1
cli/command/network: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:30 +01:00
Sebastiaan van Stijn
424401233f
cli/command/container: use strings.Cut
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:19:24 +01:00
Sebastiaan van Stijn
6c39bc1f60
opts: use strings.Cut for handling key/value pairs
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:14:15 +01:00
Sebastiaan van Stijn
a473c5b38a
opts: rename logOptsValidator, fix unhandled errors in tests
...
This validator was not specific to "log options", so renaming it to make this
clearer; also updating values used in the tests to make it clear they're not
"actual" valid values, just for testing, and while updating, also fixed some
unhandled errors in tests.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:14:14 +01:00
Sebastiaan van Stijn
d84256132d
remove redundant conversions and braces
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-29 15:14:14 +01:00
Sebastiaan van Stijn
0359f8eeee
Merge pull request #3939 from vvoland/docs-run-fix-blog
...
docs/run: Fix url to blog "Docker can now run within Docker"
2022-12-29 15:03:15 +01:00
Paweł Gronowski
720a6a8239
docs/run: Fix url to blog "Docker can now run within Docker"
...
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2022-12-29 14:33:34 +01:00
Sebastiaan van Stijn
b1db70ded7
Merge pull request #3931 from danger89/patch-1
...
Missing exec_die event
2022-12-28 18:11:16 +01:00
Melroy van den Berg
946bb9471b
Missing exec_die event
...
Add also `exec_die` event.
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2022-12-28 01:50:50 +01:00
Sebastiaan van Stijn
ed94b6ee91
Merge pull request #3935 from thaJeztah/remove_networkdisabled
...
cli/command/container: remove unused NetworkDisabled field
2022-12-27 16:04:49 +01:00
Sebastiaan van Stijn
112f4ec38d
Merge pull request #3934 from thaJeztah/update_engine
...
vendor: github.com/docker/docker v23.0.0-rc.1 (use tag)
2022-12-27 16:04:28 +01:00
Sebastiaan van Stijn
cea94069fb
Merge pull request #3933 from thaJeztah/update_mousetrap
...
vendor: github.com/inconshreveable/mousetrap v1.1.0
2022-12-27 16:04:07 +01:00
Sebastiaan van Stijn
784f660143
cli/command/container: remove unused NetworkDisabled field
...
This comment was added in 7929888214
when this code was still in the Moby repository. That comment doesn't appear
to apply to the CLI's usage of this struct though, as nothing in the CLI
sets this field (or uses it), so this should be safe to remove.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-27 15:26:23 +01:00
Sebastiaan van Stijn
6fe14e61f2
vendor: github.com/docker/docker v23.0.0-rc.1 (use tag)
...
no changes in code, as this is the same commit, but now using the tag
full diff: https://github.com/docker/docker/compare/cba986b34090...v23.0.0-rc.1
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-27 13:48:20 +01:00
Sebastiaan van Stijn
c5982f373c
vendor: github.com/inconshreveable/mousetrap v1.1.0
...
removes compatibility code for go1.3 and older;
https://github.com/inconshreveable/mousetrap/compare/v1.0.1...v1.1.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-27 13:45:16 +01:00
Sebastiaan van Stijn
139e924690
Merge pull request #3929 from thaJeztah/update_engine
...
vendor: update docker/docker to tip of v23.0 branch
2022-12-22 23:47:11 +01:00
Sebastiaan van Stijn
cc859412c8
vendor: github.com/docker/docker v23.0.0-beta.1.0.20221221173850-cba986b34090
...
full diff: https://github.com/docker/docker/compare/v23.0.0-beta.1...cba986b34090
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 23:06:38 +01:00
Sebastiaan van Stijn
70d24e854b
vendor: github.com/moby/swarmkit/v2 v2.0.0-20221215132206-0da442b2780f
...
full diff: b17f02f0a0...0da442b278
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 23:04:12 +01:00
Sebastiaan van Stijn
bab905a442
vendor: golang.org/x/crypto v0.2.0
...
full diff: https://github.com/golang/crypto/compare/v0.1.0...v0.2.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 23:02:17 +01:00
Sebastiaan van Stijn
929f23fcf9
vendor: golang.org/x/net v0.4.0
...
full diff: https://github.com/golang/net/compare/v0.1.0...v0.4.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 23:00:49 +01:00