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
Sebastiaan van Stijn
2df9ff91e1
vendor: golang.org/x/term v0.3.0
...
full diff: https://github.com/golang/term/compare/v0.1.0...v0.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:59:45 +01:00
Sebastiaan van Stijn
1b75c7c52a
vendor: golang.org/x/text v0.5.0
...
full diff: https://github.com/golang/text/compare/v0.4.0...v0.5.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:53:24 +01:00
Sebastiaan van Stijn
e3e0b7a6c8
vendor: golang.org/x/sys v0.3.0
...
full diff: https://github.com/golang/sys/compare/v0.2.0...v0.3.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:51:19 +01:00
Sebastiaan van Stijn
6f2f021b6d
vendor: github.com/prometheus/client_golang v1.14.0
...
full diff: https://github.com/prometheus/client_golang/compare/v1.13.0...v1.14.0
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:48:55 +01:00
Sebastiaan van Stijn
dedbcec469
vendor: github.com/opencontainers/runc v1.1.3
...
full diff: https://github.com/opencontainers/runc/compare/v1.1.2...v1.1.3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:46:56 +01:00
Sebastiaan van Stijn
cd2098c461
vendor: github.com/klauspost/compress v1.15.12
...
full diff: https://github.com/klauspost/compress/compare/v1.15.9...v1.15.12
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:45:42 +01:00
Sebastiaan van Stijn
d7869beade
vendor: github.com/containerd/containerd v1.6.14
...
full diff: https://github.com/containerd/containerd/compare/v1.6.10...v1.6.14
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-22 22:43:11 +01:00
Sebastiaan van Stijn
378c92d758
Merge pull request #3925 from thaJeztah/fix_warning_typo
...
cmd/docker: fix typo in deprecation warning
2022-12-19 13:57:00 +01:00
Sebastiaan van Stijn
06eba426d7
cmd/docker: fix typo in deprecation warning
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-12-19 13:03:28 +01:00
Sebastiaan van Stijn
9a5d5aefb8
Merge pull request #3923 from dozjul/master
...
Added missing backslash to documentation cli snippet
2022-12-18 11:18:16 +01:00
Julian
895e7a3df8
Added missing backslash to documentation sites cli snippet
...
I think the cli code block misses a backslash to brevent line break when copy/pasting it to a terminal.
I doubt that this is intentional, if it is, feel free to reject the pr.
Signed-off-by: Julian <gitea+julian@ic.thejulian.uk>
2022-12-18 10:47:51 +01:00
Sebastiaan van Stijn
51f36c6be1
Merge pull request #3915 from thaJeztah/remove_libtrust_todo
...
cli/flags: remove outdated TODO
2022-12-15 16:05:01 +01:00