Sebastiaan van Stijn
aae8d2dfde
vendor: github.com/docker/docker cf31b9622ae9de4b5fb7a1c9456460980ab80281
...
full diff: https://github.com/docker/docker/compare/6c0a036dce2051cc0d73221965e76e3d2e6a8a3a...cf31b9622ae9de4b5fb7a1c9456460980ab80281
changes affecting vendored code:
- client: Fix error handling
Other changes:
- handleContainerExit: timeout on containerd DeleteTask
- vendor libnetwork to fix mix up between IPv4 and IPv6
- update containerd binary to v1.4.2
- update containerd binary to v1.4.3 (CVE-2020-15257)
- vendor: BuildKit v0.8.0-rc2, containerd, and dependencies
- Add fallback for pull by tag
- vendor: BuildKit 950603da215ae03b843f3f66fbe86c4876a6f5a1
- IPv6 iptables config option
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-07 12:43:03 +01:00
Silvin Lubecki
beab92999a
Merge pull request #2862 from rumpl/chore-remove-kubernetes-dependency
...
Remove k8s.io/kubernetes dependency
2020-12-04 21:15:39 +01:00
Djordje Lukic
9f9c4b7f3b
Remove k8s.io/kubernetes dependency
...
We are only using the `IsPodReady` function that can be rewritten easily.
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com >
2020-12-04 00:27:40 +01:00
Sebastiaan van Stijn
98625314fa
Merge pull request #2846 from bboehmke/dockerd_ip6tables
...
added ip6tables to daemon CLI and config file documentation
2020-12-03 20:56:21 +01:00
Tibor Vass
dca98e3c87
Merge pull request #2843 from thaJeztah/bump_docker_buildkit
...
vendor: buildkit v0.8.0-rc2, docker, containerd, and dependencies
v20.10.0-rc2
2020-12-02 14:02:57 -08:00
Tibor Vass
40ec81a79a
build: display [auth] output
...
Signed-off-by: Tibor Vass <tibor@docker.com >
2020-12-02 21:22:36 +00:00
Sebastiaan van Stijn
9a0a071d55
vendor: buildkit v0.8.0-rc2, docker
...
diffs:
- full diff: https://github.com/docker/docker/compare/af34b94a78a194ae9bce48a200241d08c05b7187...6c0a036dce2051cc0d73221965e76e3d2e6a8a3a
- full diff: https://github.com/moby/buildkit/compare/4d1f260e8490ec438ab66e08bb105577aca0ce06...v0.8.0-rc2
New dependencies:
- go.opencensus.io v0.22.3
- github.com/containerd/typeurl v1.0.1
- github.com/golang/groupcache 869f871628b6baa9cfbc11732cdf6546b17c1298
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
4cab568abb
vendor: github.com/moby/term bea5bbe245bf407372d477f1361d2ff042d2f556
...
full diff: https://github.com/moby/term/compare/7f0af18e79f2784809e9cef63d0df5aa2c79d76e...bea5bbe245bf407372d477f1361d2ff042d2f556
- Fix windows integer overflow on GOOS=windows, GOARCH=arm
- go.mod: github.com/creack/pty v1.1.11
- v1.1.11: Add arm support for OpenBSD
- v1.1.10: Fix CTTY to work with go1.15
- CI: fix Go version matrix, and drop go 1.12, add go 1.15
- CI: remove "sudo" to fix incorrect Go versions (incorrect PATH, GOROOT)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
f8a4060111
vendor: containerd 0edc412565dcc6e3d6125ff9e4b009ad4b89c638
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
53471faac2
vendor: github.com/containerd/cgroups 0b889c03f102012f1d93a97ddd3ef71cd6f4f510
...
full diff: https://github.com/containerd/cgroups/compare/318312a373405e5e91134d8063d04d59768a1bff...0b889c03f102012f1d93a97ddd3ef71cd6f4f510
- v1/stats: add all fields of memory.oom_control
- memory: remove wrong memory.kmem.limit_in_bytes check
- CI: test against Go 1.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
2c694b3233
vendor: github.com/opentracing/opentracing-go v1.2.0
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
74d93d1fa2
vendor: github.com/tonistiigi/fsutil 0834f99b7b85462efb69b4f571a4fa3ca7da5ac9
...
full diff: https://github.com/tonistiigi/fsutil/compare/ae3a8d753069d0f76fbee396457e8b6cfd7cb8c3...0834f99b7b85462efb69b4f571a4fa3ca7da5ac9
- walker: fix notadir error
- improving error returns
- more typed errors
- remove extra verbosity (eg. PathError already contains action and path)
- ensure stack traces are added to errors
- various testing and linting fixes
- copy: use Clonefileat from golang.org/x/sys/unix on macOS
- go.mod: update opencontainers/go-digest v1.0.0
- github: test go1.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
0e96d92567
vendor: golang.org/x/crypto c1f2f97bffc9c53fc40a1a28a5b460094c0050d9
...
full diff: https://github.com/golang/crypto/compare/75b288015ac94e66e3d6715fb68a9b41bf046ec2...c1f2f97bffc9c53fc40a1a28a5b460094c0050d9
relevant changes:
- pkcs12: document that we use the wrong PEM type
- pkcs12: drop PKCS#12 attributes with unknown OIDs
- ocsp: Improve documentation for ParseResponse and ParseResponseForCert
other changes (not in vendor);
- ssh: improve error message for KeyboardInteractiveChallenge
- ssh: remove slow unnecessary diffie-hellman-group-exchange primality check
- ssh/terminal: replace with a golang.org/x/term wrapper
- Deprecates ssh/terminal in favor of golang.org/x/term
- ssh/terminal: add support for zos
- ssh/terminal: bump x/term dependency to fix js/nacl
- nacl/auth: use Size instead of KeySize for Sum output
- sha3: remove go:nocheckptr annotation
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-12-02 21:01:12 +00:00
Sebastiaan van Stijn
3faad7acc5
Merge pull request #2848 from aleon1220/patch-1
...
Long format for flag -w --workdir
2020-12-01 13:14:59 +01:00
Andres Leon Rangel
dc287b9072
Long format for flag -w --workdir
...
Added Long format for the wok directory option in docker run.
Signed-off-by: Andres LeonRangel <aleon1220@gmail.com >
2020-11-20 15:03:49 +13:00
Sebastiaan van Stijn
5836f20c28
Merge pull request #2841 from thaJeztah/go_winio
...
vendor: github.com/Microsoft/go-winio v0.4.15
2020-11-19 20:39:40 +01:00
Benjamin Böhmke
64776dd72f
added ip6tables to daemon CLI and config file doc
...
Signed-off-by: Benjamin Böhmke <benjamin@boehmke.net >
2020-11-18 22:02:06 +01:00
Tibor Vass
5cc2396164
Merge pull request #2541 from znck/allow-ssh-flags
...
feat: allow ssh flag arguments
v20.10.0-rc1
2020-11-17 11:20:04 -08:00
Silvin Lubecki
51a091485d
Merge pull request #2842 from thaJeztah/platform_experimental
...
build: remove PersistentPreRunE hack for experimental --platform
2020-11-17 11:02:06 +01:00
Sebastiaan van Stijn
e3d93058fd
build: remove PersistentPreRunE hack for experimental --platform
...
This hack was added in an attempt to continue supporting the experimental
(non-buildkit) `--platform` option, by dynamically updating the API version
required if buildkit isn't enabled.
This hack didn't work, however, because at the moment the override is
added, the command is not yet attached to the "root" (`docker`) command,
and because of that, the command itself is the `root` command;
`cmd.Root()` returned the `build` command.
As a result, validation steps defined as `PersistentPreRunE` on the root
command were not executed, causing invalid flags/options to not producing
an error.
Attempts to use an alternative approach (for example, cobra supports both
a `PersistentPreRun` and `PersistentPreRunE`) did not work either, because
`PersistentPreRunE` takes precedence over `PersistentPreRun`, and only one
will be executed.
Now that `--platform` should be supported for other cases than just for
experimental (LCOW), let's remove the 'experimental' check, and just assume
it's supported for API v1.32 and up.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-16 14:58:11 +01:00
Sebastiaan van Stijn
96e69c376f
vendor: github.com/Microsoft/go-winio v0.4.15
...
full diff: https://github.com/Microsoft/go-winio/compare/v0.4.14...v0.4.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-16 14:36:21 +01:00
Sebastiaan van Stijn
a7150fce23
Merge pull request #2835 from thaJeztah/bump_docker
...
vendor: update docker/docker and moby/sys
2020-11-12 21:07:43 +01:00
Sebastiaan van Stijn
325036df3e
Merge pull request #2831 from tianon/containerd
...
Add "--containerd-namespace" daemon flags in completion and docs
2020-11-10 23:57:02 +01:00
Sebastiaan van Stijn
e8de41f729
Merge pull request #2832 from tianon/zsh-reviewers
...
Remove really outdated zsh-completion REVIEWERS file
2020-11-10 23:55:16 +01:00
Sebastiaan van Stijn
92516c7fb1
Merge pull request #2837 from albers/completion-remove-experimental-client
...
Always enable experimental features in bash completion
2020-11-10 23:53:33 +01:00
Sebastiaan van Stijn
c318ec8a33
vendor: update docker/docker and moby/sys
...
diffs and relevant changes:
docker/docker: https://github.com/docker/docker/compare/c2cc352355d4c26be60be8ea3a1acfddc20fdfd3...af34b94a78a194ae9bce48a200241d08c05b7187
- replace pkg/symlink with github.com/moby/sys/symlink
moby/sys: https://github.com/moby/sys/compare/6154f11e6840c0d6b0dbb23f4125a6134b3013c9...1bc8673b57550ddf85262eb0fed0aac651a37dab
changes:
- mount, mountinfo: Add support for OpenBSD in addition to FreeBSD
- mount, mountinfo: Exclude macOS (darwin)
- mount.RecursiveUnmount(): minor improvements
- mount.RecursiveUnmount: add a fast path
- mount: bump mountinfo to v0.3.1
- mount: Some refactor and improved GoDoc about Windows support
- mount: use MNT_* flags from golang.org/x/sys/unix on freebsd (reduces use of cgo)
- mountinfo.Mounted: add fast path for Linux using openat2
- mountinfo.Mounted: optimize by adding fast paths
- mountinfo: correctness improvements
- mountinfo: deprecate PidMountInfo
- mountinfo: fix not showing package doc, typos
- mountinfo: fix path unescaping
- mountinfo: make GetMountinfoFromReader Linux-specific
- mountinfo: rename FstypeFilter -> FSTypeFilter, fix FilterFunc docs
- mountinfo: use idiomatic naming for fields
- Migrate github.com/docker/docker/pkg/symlink
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-10 22:31:52 +01:00
Tibor Vass
4c12f1a921
Merge pull request #2836 from thaJeztah/fix_goimports
...
cli/command/container/stats.go: fix goimports
2020-11-10 12:47:09 -08:00
Sebastiaan van Stijn
ee0d48048a
Merge pull request #2833 from KyleMit/patch-1
...
docs/builder: fix broken link
2020-11-10 21:43:50 +01:00
Harald Albers
1649540431
Always enable experimental features in bash completion
...
This amends #2774 for bash completion.
Signed-off-by: Harald Albers <github@albersweb.de >
2020-11-10 21:11:56 +01:00
Sebastiaan van Stijn
ae5899e2b0
cli/command/container/stats.go: fix goimports
...
cli/command/container/stats.go:159: File is not `goimports`-ed (goimports)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-10 17:47:57 +01:00
Kyle
c94f2d20b1
docs/builder: fix broken link
...
Signed-off-by: kylemit <Kylemit@gmail.com >
2020-11-07 08:35:07 -05:00
Tianon Gravi
3d84db96b4
Remove really outdated zsh-completion REVIEWERS file
...
Signed-off-by: Tianon Gravi <admwiggin@gmail.com >
2020-11-06 12:42:08 -08:00
Tianon Gravi
8258fc9059
Add "--containerd-namespace" daemon flags in completion and docs
...
This also adds the missing `containerd` key in the example daemon configuration files.
Signed-off-by: Tianon Gravi <admwiggin@gmail.com >
2020-11-06 12:34:10 -08:00
Sebastiaan van Stijn
b07e921289
Merge pull request #2785 from bn4t/2784-use-waitgroup-instead-of-sleep
...
Wait on waitgroup instead of using time.Sleep
2020-11-06 21:29:11 +01:00
Sebastiaan van Stijn
a9c2c30744
Merge pull request #2830 from tianon/sort-daemon-json
...
Use consistent formatting and sorted keys in all JSON examples for dockerd reference
2020-11-06 21:21:59 +01:00
Tianon Gravi
184e5feb72
Use consistent formatting and sorted keys in all JSON examples for dockerd reference
...
To create this, I ran every JSON document through `jq -S` (which sorts the keys and consistently pretty-prints the result in a format which matches the majority of documents in this file).
Signed-off-by: Tianon Gravi <admwiggin@gmail.com >
2020-11-06 11:52:06 -08:00
Sebastiaan van Stijn
d5f1c8ebd6
Merge pull request #2821 from 1ace/patch-1
...
docs/builder: fix trivial formatting typo
2020-11-06 12:38:53 +01:00
Eric Engestrom
e08a441575
docs/builder: fix typo
...
Signed-off-by: Eric Engestrom <eric@engestrom.ch >
2020-11-03 20:11:23 +01:00
Silvin Lubecki
c20be83d6b
Merge pull request #2804 from thaJeztah/containerd_console
...
vendor: containerd/console v1.0.1, golang.org/x/sys, moby/term
2020-11-03 17:51:49 +01:00
Sebastiaan van Stijn
1f4beebd7e
vendor: github.com/containerd/console v1.0.1
...
full diff: https://github.com/containerd/console/compare/v1.0.0...v1.0.1
Fixes compatibility with current versions of golang.org/x/sys
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-03 17:40:44 +01:00
Sebastiaan van Stijn
32d8f358df
vendor: github.com/moby/term 7f0af18e79f2784809e9cef63d0df5aa2c79d76e
...
full diff: https://github.com/moby/term/compare/73f35e472e8f0a3f91347164138ce6bd73b756a9...7f0af18e79f2784809e9cef63d0df5aa2c79d76e
- update gotest.tools to v3
- Use unix.Ioctl{Get,Set}Termios on all unix platforms
- Make Termios type alias, remove casts
vendor: golang.org/x/sys eeed37f84f13f52d35e095e8023ba65671ff86a1
https://github.com/golang/sys/compare/ed371f2e16b4b305ee99df548828de367527b76b...eeed37f84f13f52d35e095e8023ba65671ff86a1
- all: add GOOS=ios
- unix: add back IoctlCtlInfo on darwin
- windows: add SetConsoleCursorPosition
- unix: update Dockerfile to Linux 5.9 and Go 1.15.2 (adds `CAP_CHECKPOINT_RESTORE`)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-03 17:40:01 +01:00
Silvin Lubecki
1d02eaf47d
Merge pull request #2822 from thaJeztah/bump_docker
...
vendor: github.com/docker/docker c2cc352355d4c26be60be8ea3a1acfddc20fdfd3
2020-11-03 14:03:32 +01:00
Silvin Lubecki
d75d6de64a
Merge pull request #2823 from thaJeztah/bump_pty
...
vendor: github.com/creack/pty v1.1.11 (includes fixes for go 1.15)
2020-11-03 14:03:22 +01:00
Sebastiaan van Stijn
4b47aed2cc
vendor: github.com/creack/pty v1.1.11
...
full diff: https://github.com/creack/pty/compare/v1.1.9...v1.1.11
- v1.1.11: Add arm support for OpenBSD
- v1.1.10: Fix CTTY to work with go1.15
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-03 13:44:13 +01:00
Sebastiaan van Stijn
ef0ac7f7e1
vendor: github.com/docker/docker c2cc352355d4c26be60be8ea3a1acfddc20fdfd3
...
full diff: https://github.com/docker/docker/compare/73dc6a680cdd48f2f993f1a1b91aac1dd23d47c8...c2cc352355d4c26be60be8ea3a1acfddc20fdfd3
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-11-02 15:43:30 +01:00
Silvin Lubecki
26721411b7
Merge pull request #2778 from thaJeztah/bump_sortorder
...
vendor: github.com/fvbommel/sortorder v1.0.2
2020-10-31 16:24:51 +01:00
Sebastiaan van Stijn
7ab12bf963
vendor: github.com/fvbommel/sortorder v1.0.2
...
no significant changes: enforces the new module name to be used
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-10-31 14:37:07 +01:00
Tibor Vass
1d20b15adc
Merge pull request #2818 from thaJeztah/prevent_panic
...
GetDefaultAuthConfig: fix potential panic due to unhandled error
2020-10-29 14:43:01 -07:00
Silvin Lubecki
5695d699ae
Merge pull request #2735 from thaJeztah/fix_flag_hiding
...
Fix buildkit flags not being hidden without buildkit enabled
2020-10-29 15:59:02 +01:00
Sebastiaan van Stijn
f32731f902
GetDefaultAuthConfig: fix potential panic due to unhandled error
...
Signed-off-by: Sebastiaan van Stijn <github@gone.nl >
2020-10-29 01:42:35 +01:00