Update to the just released 4.0.1. And drop some patches contained
in this released.
Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bumping to 19.03.8 to pickup bugfixes and security changes. The
following commits comprise the chnage:
moby:
aa6a9891b0 vendor: add local copy of archive/tar
0d4f412ecd dockerfile: update vndr to 85886e1a
libnetwork:
c7bae399 Merge pull request #2525 from trapier/bump_19.03/cleanup-vfp-during-network-removal
8c407f52 Cleanup VFP during overlay network removal
bd5c6080 Merge pull request #2520 from SamWhited/19.03_backport_dns_update
74b17410 Bump the DNS library and revendor
cli:
eb310fca Merge pull request #2373 from tiborvass/19.03-bump-grpc-1.23.1
0e40b919 vendor: bump google.golang.org/grpc v1.23.1
a51e9e63 vendor: update grpc to v1.23.0
Testing has been performed across x86-64/arm64 via cli and through
higher level frameworks.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Uprev to the latest release of cri-o to pick up some fixes and
CVEs. Makefile updates along with updates to the go.bbclass allow us
to remove most of the do_compile() tweaks that were in place. To test
that these removals are sane builds were done for x86_64 and arm64 in
docker containers with network=none, no issues were found.
Quite a few runtime tests were done as well since we are stepping up 2
releases, and we also just uprev'd 'cni' and wanted to validate its
runtime as well.
Once the system is started and cri-o is given time to start you can
use the new 'crio-status info' command to retrieve the runtime status
of cri-o:
root@qemux86-64:~# crio-status info
cgroup driver: cgroupfs
storage driver:
storage root: /var/lib/containers/storage
default GID mappings (format <container>:<host>:<size>):
0:0:4294967295
default UID mappings (format <container>:<host>:<size>):
0:0:4294967295
Additionally 'crictl' was installed (the recipe will be submitted
shortly) and the cri-o Tutorial found here was run
(https://github.com/cri-o/cri-o/blob/master/tutorials/crictl.md)
In order to run the tutorial /etc/cni/net.d/99-loopback.conf and
/etc/containers/policy.json were taken from
./contrib/cni/99-loopback.conf and ./contrib/policy.json in the cri-o
src repo. The sandbox_config.json and container_redis.json were taken
from https://github.com/cri-o/cri-o/blob/master/test/testdata (note:
using core-image-minimal with systemd enabled I had to remove
"cpu_period": 10000 and "cpu_quota": 20000 to get the tutorial to
work). We are not able to use the loopback networking to telnet to the
redis container, but we can use other techniques to validate that it
is running.
root@qemux86-64:~# /usr/lib/go/src/import/_output/crictl --runtime-endpoint unix:///var/run/crio/crio.sock ps
CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID
72718714360ef quay.io/crio/redis:alpine 47 seconds ago Running podsandbox1-redis 0 38b97e5a7bb99
root@qemux86-64:~# /usr/lib/go/src/import/_output/crictl --runtime-endpoint unix:///var/run/crio/crio.sock exec -i 72718714360ef cat /etc/issue
Welcome to Alpine Linux 3.7
Kernel \r on an \m (\l)
The CRIO_BUILD_CROSS approach was no longer valid and was
dropped. There is most likely some other cleanup we can do but this
gets us to a good state on the latest release.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Add system service for podman which starts a podman instance allow to
access the new HTTP based API (apiv2).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump to the newest podman release 1.8.1. Many new networking features
and a new HTTP API has been added since 1.6.1.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump to latest version 2.0.11 of conmon.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* apply similar patch to what was applied to docker-ce in:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/recipes-containers/docker?id=e7787cb01be91d3798594687a475d5b085f29ede
it's very similar, but needs to be separate .patch file, because the
path to make/.binary is different in docker-ce and docker-moby.
since the recent upgrade:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f770151b3ff0938bea4972abdd1ee7f6cbc3a074
docker-moby needs the same change or fails like this:
| ERROR: Execution of 'work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754' failed with exit code 2:
|
| Package devmapper was not found in the pkg-config search path.
| Perhaps you should add the directory containing `devmapper.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'devmapper' found
| Removing bundles/
|
| ---> Making bundle: dynbinary (in bundles/dynbinary)
| Building: bundles/dynbinary-daemon/dockerd-19.03.6
| GOOS="linux" GOARCH="arm" GOARM="7"
| # runtime/cgo
| exec: "arm-linux-gnueabihf-gcc": executable file not found in $PATH
| WARNING: work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754:1 exit 2 from 'VERSION="19.03.6" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary'
| ERROR: Task (meta-virtualization/recipes-containers/docker/docker-moby.bb:do_compile) failed with exit code '1'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* SRCREV_docker isn't defined in docker-moby recipes at all
so it passes unexpanded ${SRCREV_docker} as noticed in
error log:
| ERROR: Execution of 'work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754' failed with exit code 2:
|
| Package devmapper was not found in the pkg-config search path.
| Perhaps you should add the directory containing `devmapper.pc'
| to the PKG_CONFIG_PATH environment variable
| No package 'devmapper' found
| Removing bundles/
|
| ---> Making bundle: dynbinary (in bundles/dynbinary)
| Building: bundles/dynbinary-daemon/dockerd-19.03.6
| GOOS="linux" GOARCH="arm" GOARM="7"
| # runtime/cgo
| exec: "arm-linux-gnueabihf-gcc": executable file not found in $PATH
| WARNING: work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754:1 exit 2 from 'VERSION="19.03.6" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary'
| ERROR: Task (meta-virtualization/recipes-containers/docker/docker-moby.bb:do_compile) failed with exit code '1'
this build issue is somehow caused by recent upgrade:
http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f770151b3ff0938bea4972abdd1ee7f6cbc3a074
and this build error is not fixed by this change, but
see 2nd to last line which shows
DOCKER_GITCOMMIT="${SRCREV_docker}"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bumping the docker recipes to the latest 19.03 changes:
f0e27e52c1 Merge component 'cli' from git@github.com:docker/cli 19.03
65550b7564 Merge pull request #2352 from thaJeztah/19.03_backport_add_daemon_redirect
118ddd9ac0 docs: add redirect for old location of daemon reference
baa53b1dcc Merge pull request #2344 from thaJeztah/19.03_backport_builder_prune_flags
5321005e4e Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
d97f4c303b Merge pull request #432 from thaJeztah/19.03_backport_bump_golang_1.12.17
e08e107ddc Merge component 'cli' from git@github.com:docker/cli 19.03
058ac7dc90 Merge pull request #2342 from thaJeztah/19.03_backport_bump_golang_1.12.17
84d75db7ac Fix builder prune -a/--all flag description
29db22eecc unused-for is a deprecated synonym
2f76c46e36 Update Golang 1.12.17
f49613c3ae Update Golang 1.12.17
369ce74a3c Merge pull request #643 from arkodg/19.03
bee80f7cbf Bump Version to 19.03.6
78e3d7a827 Merge component 'cli' from git@github.com:docker/cli 19.03
a53add6c25 Merge pull request #2320 from thaJeztah/19.03_docs_backports
b21b8c4427 docs: update deprecated status for --disable-legacy-registry
ee91f95834 docs: add status table to "deprecated.md"
672cbe85e0 docs: mark deprecation of "docker engine" subcommands
1697838c76 docs: mark deprecation of "dab" files and top-level "deploy" subcommand
293ca94147 docs: sort "deprecated.md" by deprecation release
8ac182f3d5 docs: update some release-versions in "deprecated.md"
7877cc4a39 docs: minor touch-ups in "deprecated.md"
22b4b51d54 docs: service create: document os/arch constraints and more examples
09315bfb9c docs: service create: document non-matching/exclude constraints
275af80811 docs: service create: use markdown table for constraints
969ddd8937 Give an example for --reserve-memory
70114cfeab Merge component 'cli' from git@github.com:docker/cli 19.03
0056d8cf4a Merge pull request #2315 from thaJeztah/19.03_backport_carry_855_config_opts
c3831cea9c Remove a useless '\' and enhance a script in an example in the section 'Add entries ... (--add-host)'
d9eb3c2d18 Add examples for configs
586103a655 Merge component 'cli' from git@github.com:docker/cli 19.03
9e55c7c6ff Merge pull request #2311 from thaJeztah/19.03_backport_carry_1889_build_docs_update
fc0328309a Syntax corrected
94739e3a28 docs: document dockerignore update
49c91f0de5 docs: document build outputs
0350afa412 docs: document cache-from
b9eb7e03e8 Add notice about port binding and overriding of UFW to docker run reference
97049ac8a1 Merge pull request #640 from arkodg/19.03
6d6ce58b31 Bump version to 19.03.6.rc2
76a635b4c1 Merge component 'engine' from git@github.com:docker/engine 19.03
92806c13e9 Merge pull request #40453 from thaJeztah/19.03_bump_containerd
74ceaefc0f Merge component 'engine' from git@github.com:docker/engine 19.03
6e493ff731 update runc library to v1.0.0-rc10 (CVE-2019-19921)
4b4ef42785 update runc binary to v1.0.0-rc10 (CVE-2019-19921)
0a962fdb56 [19.03] Update containerd binary to v1.2.12
e88a6aff54 Merge pull request #40440 from tonistiigi/1903-update-buildkit
8d4dd9cf04 Merge pull request #40432 from thaJeztah/19.03_bump_swarmkit
7b4d2e6d4b vendor: update buildkit to 57e8ad5
57d13bfe2a Merge pull request #40433 from thaJeztah/19.03_bump_golang_1.12.16
2fb2d60efe [19.03] vendor: bump swarmkit 062b694b46c0744d601eebef79f3f7433d808a04
2cf45c5bcb vendor: update golang.org/x/crypto 69ecbb4d6d5dab05e49161c6e77ea40a030884e1
6466a776b3 [19.03] Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919)
3e58daafc4 Merge component 'cli' from git@github.com:docker/cli 19.03
68d0178e83 Merge pull request #2302 from thaJeztah/19.03_bump_golang_1.12.16
e5e1976a91 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
4e8f5d9d7d Merge pull request #429 from thaJeztah/19.03_backport_bump_golang_1.12.16
9dd99e2dc3 Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919)
5974a91053 vendor: update golang.org/x/crypto 69ecbb4d6d5dab05e49161c6e77ea40a030884e1 (CVE-2020-7919)
d3739cb2c9 Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919)
a5b1206510 Merge component 'cli' from git@github.com:docker/cli 19.03
a2bc745cee Merge pull request #2291 from thaJeztah/19.03_backport_update_flag_description
80c58bbf63 Merge component 'cli' from git@github.com:docker/cli 19.03
7b094d6ad6 Merge pull request #2292 from thaJeztah/19.03_backport_hide_unsupported_buildkit_flags
45171da30b Annotate flags that are not supported by Buildkit
7f9957e9d5 Update flag description for docker rm -v
77739a9875 Merge pull request #639 from arkodg/19.03
855b0a0806 Bump version to 19.03.6.rc1
8af945c717 Merge component 'engine' from git@github.com:docker/engine 19.03
7cdc0a43bc Merge pull request #454 from thaJeztah/19.03_backport_lgetxattr_panic
4bd7815ea5 Merge component 'engine' from git@github.com:docker/engine 19.03
78567fe9cc Merge pull request #429 from thaJeztah/19.03_backport_windows_1903_fixes
8b00f36b33 Merge pull request #240 from thaJeztah/19.03_backport_lcowfromscratch
80cebcf36a Merge pull request #443 from thaJeztah/19.03_backport_health_race
5effd71d27 Merge pull request #441 from thaJeztah/19.03_backport_fix_double_host
102b097aff Merge pull request #439 from arkodg/19.03
4e53bffc7f Merge pull request #442 from thaJeztah/19.03_backport_errdefs_no_recurse
c094d5a10c Merge pull request #444 from thaJeztah/19.03_backport_fix_unmount_ipc_ignore_enotexist
6c41819f16 Merge pull request #446 from thaJeztah/19.03_backport_ctx_upload_cancel
8f7f8f44fe Merge pull request #447 from thaJeztah/19.03_backport_fix_containerStart_unhandled_error
084a766569 Merge pull request #449 from thaJeztah/19.03_backport_move_windows_gopath_out_of_goroot
4e02c9f299 Merge pull request #440 from thaJeztah/19.03_backport_remove_cocky
446d2c5c1c Merge pull request #448 from thaJeztah/19.03_backport_gofmt_pkg_parsers
3a72499a38 Merge pull request #450 from thaJeztah/19.03_backport_bump_docker_py_4.1.0
169849fb47 Merge pull request #451 from thaJeztah/19.03_backport_swagger_fixes
9d81f4dc77 Merge pull request #452 from thaJeztah/19.03_bump_golang_1.12.15
cda3e3908a Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
ff42a8ba90 Merge pull request #425 from thaJeztah/19.03_backport_file_permissions
db575945f1 Merge component 'engine' from git@github.com:docker/engine 19.03
89d170efa5 Merge pull request #453 from tonistiigi/1903-update-buildkit
cebe170ea9 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
45d8672a7c Merge pull request #423 from thaJeztah/19.03_backport_eq_fix
bb2ce33fe5 Merge pull request #419 from thaJeztah/19.03_backport_bump_golang_1.12.15
8e8ca6cefd Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
165fa60cf6 deb: make init and postinst files executable
ea068ad379 deb: make "rules" executable
8d381059b1 Update Golang 1.12.15
00f93046eb fix eq issue
86c51432c5 Merge pull request #424 from thaJeztah/19.03_fix_engine_build_branch
811ee1c9eb [19.03] Jenkinsfile: fix image-based engine using wrong branch
47f2060ce6 vendor: update buildkit to 926935b5
5ad9cc8ca2 Merge component 'cli' from git@github.com:docker/cli 19.03
3a0d01d07d Merge pull request #2276 from thaJeztah/19.03_backport_bump_golang_1.12.15
6dba05f752 Update Golang 1.12.15
2e17c08fc0 Bump Golang 1.12.14
1ee8d32fb1 Merge component 'engine' from git@github.com:docker/engine 19.03
10edafeba6 Merge pull request #434 from AkihiroSuda/bump-up-rootlesskit-1903
934fe5908d rootless: fix proxying UDP packets
54e2eea263 Merge component 'engine' from git@github.com:docker/engine 19.03
ebff06c64d Merge pull request #445 from thaJeztah/19.03_backport_only_add_btrfs_when_needed_please
14944dac60 Merge component 'cli' from git@github.com:docker/cli 19.03
a6a5fe3f42 [19.03] Bump Golang 1.12.15
d60a0ce710 Merge pull request #2264 from thaJeztah/19.03_backport_passthrough_user_pass
06f4c68830 Merge pull request #2265 from thaJeztah/19.03_backport_fix_pull_test
b8f99514f5 Merge pull request #2266 from thaJeztah/19.03_backport_circleci_updates
2bdad99c18 Merge pull request #2267 from thaJeztah/19.03_backport_fix_print
2558f6da19 Merge pull request #2268 from thaJeztah/19.03_backport_docs_changes
43a7e621fa Change example networks
6eeb780d69 Add docs for proxy configuration in config.json
bd178e5d35 Fixing some links and deleting an older page reference
e027dee044 Update service_create.md
7c3c6bde38 Docs: add note about management commands targeting a manager
8adb5acdec fix formatting issue of encoded url
37661a3bde CircleCI: add some info steps, and re-group jobs
33e6e19119 fix(pull_test): for quiet option
72f8164a81 Fix lint issue
292158ca22 Add test case to cover non-empty auth entry
5caedcf1e7 Allow username/password in config file
2da9c2471c Fix possible runtime panic in Lgetxattr
b2ff3fc218 Fix Engine API version history typo
02ea27bc5e swagger: add missing container Health docs
517eb6a711 swagger: move ContainerState to definitions
7bc205f9f7 Fix phrasing when referring to the freezer cgroup
371d0446b2 Update service networks documentation
53051b43bd swagger: restore bind options information
2d9b525418 /containers/{id}/json missing Platform
d29437ceda Document `message` parameter to `/images/create`
2f58c245d9 Fix indentation in some description
c025267db2 fix swagger.yaml #39484
45e4107de0 bump docker-py to 4.1.0
91d2ac3c90 Move GOPATH out from under the GO source tree
7bc5833224 pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+)
3a8b05b8b2 daemon:containerStart() fix unhandled error for saveApparmorConfig
f72d87c0fc builder-next: close build context upload on cancel
04be8ea7c7 daemon: Remove btrfs_noversion build flag
c49c729ba2 Fix "no such file or directory" warning when unmounting IPC mount
759272227c Avoid a data race in container/health.go
dd7239f025 errdefs: remove unneeded recursive calls
ec423339f0 daemon: don't listen on the same address multiple times
303c74632d Remove cocky from names-generator
3552b026fd Merge component 'engine' from git@github.com:docker/engine 19.03
e7074b6956 Merge component 'cli' from git@github.com:docker/cli 19.03
00159b2d54 Bump 19.03 libnetwork refpoint
a2f2b955f2 Merge pull request #2195 from tiborvass/19.03-fix-cp
cfe657d671 Merge component 'engine' from git@github.com:docker/engine 19.03
a62d4a6ea5 Merge pull request #424 from thaJeztah/19.03_backport_39608_short_libnetwork_id
bb0b936f68 Merge component 'cli' from git@github.com:docker/cli 19.03
982bbfbb9d Merge pull request #2184 from thaJeztah/19.03_backport_fix_max_replicas_per_node_interpolation
9e38db328e Merge pull request #423 from thaJeztah/19.03_backport_win_restore_no_parallelism
d6cc247196 Merge pull request #427 from thaJeztah/19.03_backport_40232-comply_with_gelf_spec
403d9c3fcb Merge pull request #425 from cpuguy83/backport_40169_windows_version_quad
788a8e1b4a Merge pull request #435 from thaJeztah/19.03_bump_golang_1.12.14
817461b421 Merge pull request #428 from thaJeztah/19.03_bump_containerd_1.2.11
245f1458e5 Merge pull request #437 from thaJeztah/19.03_backport_skip_broken_docker_py_test
27678e7a7f Merge pull request #438 from ydcool/19.03_backport_fix_compiling_errors_on_mips
642b00b68e Merge component 'cli' from git@github.com:docker/cli 19.03
ebf04109a4 Merge pull request #2261 from zappy-shu/19.03_backport_2250-reverse-port-long-format-order
aeec1f7a39 Reverse order of long-form ports
169540b729 cast Dev and Rdev of Stat_t to uint64 for mips
84bf606e9d Merge component 'cli' from git@github.com:docker/cli 19.03
3a9fa3f639 Merge pull request #2239 from thaJeztah/19.03_backport_carry_golangci_lint
482879a6bc Merge pull request #2240 from thaJeztah/19.03_backport_carry_platform_docs
2b51a9c7a8 docs: document from platform
a3fb446453 docker-py: skip broken ImageCollectionTest::test_pull_multiple
c14d933c6c docker-py: re-enable tests that were fixed in v4.1.0
ffc1e0d1e8 Remove now obsolete gometalinter and use golangci-lint instead
b12cb0425d cli/command/stack/kubernetes: Using the variable on range scope `c` in function literal (scopelint)
06b7cc4b21 cli/command/container: Using the variable on range scope `c` in function literal (scopelint)
e10677a913 cli/command/stack/kubernetes: Using a reference for the variable on range scope `obj` (scopelint)
ad3520d231 opts: Using the variable on range scope `tc` in function literal (scopelint)
b88c92188a cli/manifest: Using the variable on range scope `testcase` in function literal (scopelint)
b1f12aeb53 cli/compose/template: Using the variable on range scope `tc` in function literal (scopelint)
19a5404f7c cli/command/container: suppress dogsled warnings
05d443cf6e e2e: remove unnecessary trailing newline (whitespace)
95a8c8d361 internal: remove unnecessary newlines (whitespace)
bbd8228b8b cli/command: Using the variable on range scope `testcase` in function literal (scopelint)
4bd7b2790b cli: remove unnecessary newlines (whitespace)
709d853810 cli/command/trust: Using the variable on range scope `keyBytes` in function literal (scopelint)
e4dd0c48c0 cli/command/context: Using the variable on range scope `c` in function literal (scopelint)
941a48cf6c e2e/cli-plugins: Using the variable on range scope `args` in function literal (scopelint)
1bd87c8870 cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint)
cf3ad51330 templates: Using the variable on range scope `testCase` in function literal (scopelint)
938050f6df service/logs: Using the variable on range scope `testcase` in function literal (scopelint)
892f49ecc1 cli/config: Using the variable on range scope `tc` in function literal (scopelint)
86637da9e1 cli/command/formatter: Error return value of `ContainerWrite` is not checked (errcheck)
f1226e4803 cli/command: Error return value of `cli.Apply` is not checked (errcheck)
c16e5c5cb6 cli/command/formatter: Error return value of `ImageWrite` is not checked (errcheck)
6980a9fa85 cli/context/store: SA5001: should check returned error before deferring f.Close() (staticcheck)
3b21601ee7 cli/command/image: SA1006: printf-style with no further arguments (staticcheck)
6607bae1ed cli/command/utils: SA1006: printf-style with no further arguments (staticcheck)
63aecdcc56 cli/command/trust: SA1006: printf-style with no further arguments (staticcheck)
8dce5cdba3 cli/command/image/build: G107: Potential HTTP request made with variable url (gosec)
356d918639 cli/command/service: SA1012: do not pass a nil Context (staticcheck)
406e58f349 cli/command/secret: G101: Potential hardcoded credentials (gosec)
b60f19d443 cli/compose/convert: driverObjectConfig - result 1 (error) is always nil (unparam)
feabf9a1a7 e2e/container: containerExistsWithStatus - t is unused (unparam)
dc7ad38270 cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `prefix` always receives `"builder-context-test"` (unparam)
a96c9f7fb3 cli/command/registry/login_test.go:66:25: unnecessary conversion (unconvert)
6fc683021d File is not `goimports`-ed (goimports)
e04f71b179 cli/compose/convert/service_test.go:274:72: unnecessary conversion (unconvert)
e0a19e5428 cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconvert)
6ebeec5a54 Disable unparam linter: e2e/image/push_test.go:299:27: `withNotaryPassphrase` - `pwd` always receives `"foo"` (unparam)
fc40566c78 Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam)
7ce0919e99 compose/loader: define type for transformer-functions
3e2e85ac3f disable unparam linter on these functions, as we need an error in these function signatures
cd2bfde567 cli/compose/convert: result 1 (error) is always nil (unparam)
b591d5805c cli/command/system/info.go:116:68: prettyPrintClientInfo - result 0 (error) is always nil (unparam)
0110e1a9fa cli/command/stack/kubernetes/deploy_test.go:65:68: `checkOwnerReferences` - `stackName` always receives `"test"` (unparam)
cdaadd3714 cli/command/plugin/list_test.go:61:31: `TestList$1` - `filter` is unused (unparam)
949cd3a5a5 cli/command/image/build_session.go:133:45: getBuildSharedKey - result 1 (error) is always nil (unparam)
4de862fd32 cli/command/image/build_buildkit.go:450:56: parseSSH - result 1 (error) is always nil (unparam)
142ccde3b1 cli/command/image/build/context_test.go:252:71: `createTestTempFile` - `perm` always receives `0777` (`511`) (unparam)
e6a8833c39 cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `dir` always receives `""` (unparam)
7c4745bb2b unchecked errors
8f63ddef03 cli/command/container/attach.go:141:15: nilness: impossible condition: nil != nil (govet)
db9be2bb14 opts/ulimit_test.go:11:13: composites: `*github.com/docker/cli/vendor/github.com/docker/go-units.Ulimit` composite literal uses unkeyed fields (govet)
de156d566e cli/compose/types/types.go:106:2: structtag: struct field tag `yaml:",inline", json:"-"` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces (govet)
f97c9969e2 cli/registry/client/fetcher.go:106:9: nilness: impossible condition: nil != nil (govet)
5e679e1088 cli/command/container/start.go:157:20: nilness: nil dereference in type assertion (govet)
6c3a85d5bd cli/command/stack/kubernetes/list.go:32:47: nilness: tautological condition: non-nil != nil (govet)
46b5db8f92 cli/command/trust/key_generate.go:112:9: nilness: impossible condition: nil != nil (govet)
34db4b6f2d SA1019: httputil.ErrPersistEOF is deprecated: No longer used. (staticcheck)
40eae09556 cli/command/container/stats.go:211:21: SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck)
abd320c8ee cli/command/trust/inspect_pretty_test.go:399:24: SA4010: this result of append is never used, except maybe in other appends (staticcheck)
11cd9341cf opts/throttledevice.go:51:5: SA4003: unsigned values are never < 0 (staticcheck)
c7898382f0 compose/loader: fix TestIsAbs not testing all combinations
8f6e057d58 Gometalinter: raise deadline to 3 minutes
db568b7af3 gometalinter: fix configuration
775adaed88 [19.03] Bump Golang 1.12.14
aa6bfe79fc Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
c3d8c3468e Merge pull request #413 from arkodg/19.03
ec67290985 Add ubuntu-disco and ubuntu-eoan to deb Makefile
8529189e00 Add Ubuntu 19.10 "eoan"
45b0e46ce5 Merge pull request #638 from tiborvass/bump19036test
e3e3a4e994 Bump VERSION to 19.03.6-test1
b875282b34 Merge component 'cli' from git@github.com:docker/cli 19.03
6fed018433 Merge pull request #2222 from thaJeztah/19.03_backport_fix_docker_cp_npe
250fddee49 docker cp: prevent NPE when failing to stat destination
93bf0c971f Bump hcsshim to b3f49c06ffaeef24d09c6c08ec8ec8425a
6ad4cf704c TestRunAttachFailedNoLeak: Compare lowercase
a44ab059da bump Microsoft/hcsshim 2226e083fc390003ae5aa8325c3c92789afa0e7a
f521821787 integration-cli: remove unnescessary conversions (unconvert)
08d18a123f Rename "v1" to "statsV1"
c6b9bdb87c bump containerd/cgroups 5fbad35c2a7e855762d3c60f2e474ffcad0d470a
c8bfd0a7a9 bump containerd/cgroups c4b9ac5c7601384c965b9646fc515884e091ebb9
298f6e1c08 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03
0c8d8151ac RHEL8 iptables build fix (#410)
67f4391ce0 [19.03] Update containerd binary to v1.2.11
31d684a683 [19.03] Update to runc v1.0.0-rc9
df4aa4947c LCOW: Fix FROM scratch
cdd97d5eee logger/gelf: Skip empty lines to comply with spec
cbc9071e4a daemon: Use short libnetwork ID in exec-root & update libnetwork
60e2f6b3c9 Windows: Only set VERSION_QUAD if unset
1232d6d690 Windows: Use system specific parallelism value on containers restart
17870bcb42 cp: allow trailing slash in non-existant destination
dfba6b8680 Add interpolation type cast for max_replicas_per_node
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
When Autotools makes configuration of LXC, the check of
the memfd_create() function fails because __stub_memfd_create and
__stub___memfd_create (The GNU C library defines this for functions
which it implements to always fail with ENOSYS) are defined in Glibc,
which leads to the fact that the macro HAVE_MEMFD_CREATE is not
defined and LXC provides defintion of the memfd_create() function as
static inline which in turn conflicts with a definition from
the <bits/mman-shared.h> file and causes an error:
| In file included from ../../../lxc-3.2.1/src/lxc/conf.c:79:
| <src_path>//lxc/syscall_wrappers.h:77:19: error: static declaration
| of 'memfd_create' follows non-static declaration
| | static inline int memfd_create(const char *name, unsigned int flags) {
| | ^~~~~~~~~~~~
| In file included from /usr/include/bits/mman-linux.h:111,
| from /usr/include/bits/mman.h:34,
| from /usr/include/sys/mman.h:41,
| from <src_path>/lxc-3.2.1/src/lxc/conf.c:42:
| /usr/include/bits/mman-shared.h:50:5: note: previous declaration
| of 'memfd_create' was here
| | int memfd_create (const char *__name, unsigned int __flags) __THROW;
| | ^~~~~~~~~~~~
Upstream PR: https://github.com/lxc/lxc/pull/3168 (merged)
Signed-off-by: Oleksii Kurochko <olkuroch@cisco.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
As done by the docker-moby recipe, move the definition of the default
build tags outside do_compile and let the docker build tags be
customized via the packageconfig options set by the recipe.
This is required for enabling seccomp support during build time.
Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The added patches allow to set the SELinux context for the session
keyring that is created by lxc. In addition it is possible to disable
the creation of a new session keyring completely.
Upstream PR: https://github.com/lxc/lxc/pull/3260 (merged)
If lxc is executed on a SELinux enabled system, these options can be
used to assign the expected label to the session keyring.
Signed-off-by: Maximilian Blenk <maximilian.blenk@bmw.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The docker-compose project is using console_scripts which hence imports
pkg_resources which is very slow at starting time, see:
https://github.com/pypa/setuptools/issues/510
This could be workaround by importing fastentrypoints module.
Some tests:
Before the patch, on a colibri-imx8x machine:
$ time docker-compose
```
real 0m5.108s
user 0m4.761s
sys 0m0.272s
```
After the patch, on a colibri-imx8x machine:
$ time docker-compose
```
real 0m3.526s
user 0m3.249s
sys 0m0.235s
```
Have verified the patch with:
https://docs.docker.com/compose/gettingstarted
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Currently conman is compiled without journald support which leads to
this error message when trying to use it (e.g. --log-driver=journald
with podman):
[conmon:e] Include journald in compilation path to log to systemd journal
Make sure to build with journald backend compiled-in when systemd is in
distro features by adding systemd to DEPENDS (through PACKAGECONFIG).
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump the git hashes to Docker CE v19.03.5. This requires to get the
docker daemon binary from a different location as the symlink from
the latest/ subdirectory has been removed. See also commit deaac5d4b3fa
("hack/make.sh remove "latest" symlink") in the docker-ce repository.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump to latest podman release 1.7.0. It features improvements to
networking, podman play kube, and systemd unit file integration.
They have also added the podman system reset command, to remove all
existing containers, pods, images, and volumes and reset the system
to its initial state.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump to latest version 2.0.9. This also makes our Makefile fix obsolete
as the fix has been aplied upstream.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating to v1.17-beta, so we can drop the GO version 1.12 in
meta-virtualization.
We also drop one patch, since it is part of the upstream now.
Basic sanity tests shows no show-stopper issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This file is useless and misleading. Remove it.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Lateest upstream is 1.6.4, but neither 1.6.3 nor 1.6.4
build cleanly.
Release notes:
https://github.com/containers/libpod/releases/tag/v1.6.2
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
go 1.12 was removed from oe-core, but currently k8s cannot
be built successfully with go 1.13. See link below.
https://github.com/kubernetes/kubernetes/issues/82531
We need to wait for k8s to support go 1.13 and update it
to latest release, as well as its depedencies. Before this
is done, add back go 1.12 and use it.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Trying to use docker info and hello world container without this module
causes a daemon error.
docker info error log:
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the
docker daemon running?
dockerd error log:
PREROUTING chain: iptables failed: iptables --wait -t nat -A PREROUTING -m
addrtype --dst-type LOCAL -j DOCKER: iptables v1.8.3 (legacy): Couldn't
load match `addrtype':No such file or directory
Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since go was upgraded to 1.13, there is a failure:
...
| src/vendor/golang.org/x/net/http2/frame.go:17:2: use of vendored package not allowed
| ../../../recipe-sysroot/usr/lib64/go/src/net/http/h2_bundle.go:49:2: use of vendored package not allowed
...
Refer upstream suggestion [1]:
`or copying your vendor contents into GOPATH/src rather than
mapping them in to GOPATH/src/vendor.'
[1] https://github.com/golang/go/issues/34068
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Remove maximum version requirements for docker-compose so that it
does not require old version recipes.
The old version recipes required are as below.
* PyYAML
* requests
* urllib3
* idna
* jsonschema
The current one has been tested against https://docs.docker.com/compose/gettingstarted/.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since commit [a092153 containerd: Disable for all mips machines] applied,
and the cri-o runtime depends `virtual/containerd', it should do the same
thing to disable for all mips machines
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Commit c97fe5036ef3df2967d086711e6c0c405941e14b is Kubernetes v1.16.2
(see https://github.com/kubernetes/kubernetes/releases for verification)
and building with the current recipe generates v1.16.2 binaies although
the package names state v1.16.1.
Change-Id: I5701c18cc3ce205ad906eda2595d9ad7f5748b17
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The python3-docker-compose_1.16.1 requires 'docker<3.0, >=2.5.1', while
python3-docker 3.4.0 is provided. Error occurs when running
'docker-compose --version'.
Upgrade to python3-docker-compose_1.21.2 to make it work.
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating kubernetes to use the 1.16 relese (instead of the 1.16) alpha.
No issues were found in build and runtime testing of this versus the
alpha release.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The image tools were not building with the oe/cross GO compiler
and flags. As such, you could end up with a binary on target with
the wong elf interpreter (the host one).
With this, we properly use the settings from our build.
We also bump the SRCREV to pickup a few minor fixes to the package.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The layer does not expect recipes in the first subdir. Move the
podman-compose recipe into a podman-compose subdirectory.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Add podman-compose, a docker-compose implementation for podman. The
current version is not feature complete, hence not all docker-compose
file work.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Add a default registries.conf and storage.conf. Those config files
are used by several projects of the containers group like buildah or
podman. Provide it as part of skopeo like the other distributions do.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
It seems that docker uses nowadays a rather vanilla version of runc,
at the time of writing 1.0.0-rc8. This version has successfully
tested with podman, hence remove the obsolete comment.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Create the initial recipe to provide crun as an alternative OCI runtime
provider.
This currently has a depdenency on seccomp, but it would be nice if we
can make that optional in the future to avoid pulling in all of
meta-security as a dependency.
Example:
% skopeo copy docker://busybox oci:busybox-oci:latest
% mkdir busybox-bundle
% oci-image-tool create --ref platform.os=linux busybox-oci busybox-bundle
% cd busybox-bundle/
% rm config.json
% runc spec
% runc run foo
^D
% crun run foo
^D
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The layer check for podman was copied from cri-o .. and some non
podman elements came over as part of that copy. We drop selinux
as a check, and fix some comments.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
podman can behave as transparent drop in replacement for docker
via a wrapper 'docker' script that simply calls podman when any
docker command is issues.
While this is an interesting feature, we want it to be optional
.. since it is possible that podman and docker might want to be
installed at the same time.
So we introduce a 'podman' PACKAGECONFIG, that controls whether
or not this wrapper is installed, and if it is installed it marks
the podman package as conflicting with docker (which gets us a
better message than a failed image assembly provides).
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
In a similar manner to cri-o, we don't want to make meta-selinux
or meta-security a hard dependency to meta-virtualization. So we
implement a similar anonymous python check that allows the recipe
to be skipped if the dependent layers are not present (and hence
we are yocto compatible). If we get more than two recipes doing
layer checks (this is the 2nd), we can move the functionality to
a class.
We also make the runc dependency be virtual/runc versus picking
a specific provider (even if only runc-opencontainers has been
tested).
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
ostree is now provided by meta-oe, which is a required layer so
we can drop it from the anonymous python checks for layers.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Add conmon, a OCI container runtime monitor.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Use a standard location to store the cni tools and plugins. This
is more in line how other distributions package cni. Keep a symlink
to /opt/cni/bin for backward compatibility.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
skopeo is a command line utility that performs various operations on
container images and image repositories.
skopeo can work with OCI images as well as the original Docker v2
images.
The recipe originates from from meta-overc commit a497792. It has
been updated with the new project URL and v0.1.39.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Podman is a daemonless container engine for developing, managing, and
running OCI Containers on your Linux System. Containers can either be
run as root or in rootless mode.
This patch adds the initial recipe for podman. Currently the build tags
systemd (if in DISTRO_FEATURES), seccomp, varlink and remoteclient are
enabled which allows to run podman with overlayfs as root and vfs in
rootless mode. The storage drivers btrfs and device-mapper have not
been tested and are disabled at the moment.
It seems that seccomp is mandatory, which makes meta-security which
provides libseccomp a mandatory dependency for this recipe.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since commit:
[
Author: Tom Rini <trini@konsulko.com>
Date: Fri Feb 8 13:22:35 2019 -0500
docker: Move /etc/docker to a symlink to volatiles
The only thing which docker uses /etc/docker for is a TLS key for
connecting with other TLS-enabled services. Make /etc/docker a symlink
to the existing docker volatiles directory so that we can use docker on
a read-only rootfs.
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
We've had a transient / volatile docker configuration since we point
our /etc configuration to /run. This is not always a good thing if
a static configuration for keys, etc, is desired.
We maintain this functionality under the 'transient-config'
PACKAGECONFIG, and also allow the existing static/permanent config
to be used.
Signed-off-by: Matt Spencer <matthew@thespencers.me.uk>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The recipe which was providing the default "docker" package was aligned
with the moby repositories. In order to make that alignment clear, we
rename that recipe docker-moby.
To allow easier switching between the docker providing recipes, we
introduce a virtual/docker PROVIDES to the common .inc file (and
hence each recipe). This allows users to chose what they want via
the standard PREFERRED_PROVIDER mechanism.
Also to allow existing package lists and image installs to
continue to work without changes, we make sure that the implementation
specific docker-<foo> packages RPROVIDE docker. If any packages are
missed, we'll add them to this list in future updates.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Bump the git hashes to Docker CE v19.03.2.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since commit applied in moby [61a3285 Support cross-compile for arm]
it hardcoded var-CC to support cross-compile for arm
Correct it with "${parameter:-word}" format, it is helpful for user
define toolchains
(Use Default Values. If parameter is unset or null, the expansion of
word is substituted. Otherwise, the value of parameter is substituted.)
61a3285864
This fixes a build issue seen when building docker-ce:
exec: "aarch64-linux-gnu-gcc": executable file not found in $PATH
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Use GNU Make 4.2.1(such as fedora-29) to build k8s in a long directory,
it failed with `execvp: /bin/bash: Argument list too long'
[snip]
$ cd /buildarea1/hjia/wrlinux-1019/I_/suspect_/that_/if_/you_/create_/your_/project_/in_/a_/very_/deep_/directory/build_master-wr_qemux86-64_faw_2019090509/build/tmp-glibc/work/core2-64-wrs-linux/kubernetes/v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a-r0/kubernetes-v1.16.0-alpha+git7054e3ead7e1a00ca6ac3ec47ea355b76061a35a/src/import
$ make cross KUBE_BUILD_PLATFORMS=linux/amd64 GOLDFLAGS=""
|+++ [0804 16:38:32] Building go targets for linux/amd64:
| ./vendor/k8s.io/code-generator/cmd/deepcopy-gen
|make[1]: execvp: /bin/bash: Argument list too long
|make[1]: *** [Makefile.generated_files:184: pkg/kubectl/cmd/testing/zz_generated.deepcopy.go] Error 127
|make: *** [Makefile:557: generated_files] Error 2
...
[snip]
From make manual [1]
$?
The names of all the prerequisites that are newer than the target, with spaces between them.
While two `$?' was passed to bash in a line, it caused above failure,
drop a duplicated one could workaround the issue.
[1] https://www.gnu.org/software/make/manual/html_node/Automatic-Variables.html
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
When curl's MIT license is preferable to wget's GPLv3. Which it is in
several situations.
Change-Id: I72ee1ce66493c564557b73fae80f5219ef83af6d
Signed-off-by: Joakim Roubert <joakimr@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
commit 7394c154a9 [containers: update oci-systemd-hook to 0.2.0]
incorrectly adjusted the context around the patch
0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch.
This resulted in containers failing with an error:
systemdhook <error>: Failed to mkdir new dest: /opt/container/cube-server/rootfs/sys/fs/cgroup/perf_event: No such file or directory
Unfortunately, the code was being patched in ahead of the mounting of
the tmpfs after the patch context was adjusted. You can even get a
hint of this in the comment "Systemd is already handled above". Here
we correct this by pushing the code down to the correct position in
the file/function, making the error go away and proper function
return.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
nl80211 device can't be moved to another namespace due to
e389f2afd8509(start: unify and simplify network creation), and lxc
community has fixed this issue with:
commit 3dd7829433f63b2ec1323a1f237efa7d67ea6e2b lxc upstream
This patch is grabbing the commit above, and should be abandoned with
lxc uprev afterwards.
See more details here: https://github.com/lxc/lxc/issues/3105
Signed-off-by: Yunguo Wei <yunguo.wei@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since comit 3f64779e in meta-oe:
[ libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only ]
libdevmapper recipe does not provide package any more, we need RDEPENDS
on libdevmapper which is being provided by lvm2 recipe.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
It defaults to "-s -w" [1] which strips debug information, refresh a backported
patch to build unstripped binaries
https://golang.org/cmd/link/
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Specify GOLDFLAGS as an empty string for building unstripped binaries, which allows
you to use code debugging tools like delve. When GOLDFLAGS is unspecified, it defaults
to "-s -w" which strips debug information. Other flags that can be used for GOLDFLAGS
are documented at https://golang.org/cmd/link/ [1]
[1] https://github.com/kubernetes/kubernetes/blob/master/build/root/Makefile#L82
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Add a new PACKAGECONFIG, static, which when enabled will build
runc as static. Default to enable it.
We need this because we should allow users to build runc as not
static so that when docker's cgroup driver is set to systemd,
we don't get error.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
There are unnessary and incorrect settings like GOOS and GOROOT.
There are also redundant settings like GOPATH, CGO_CFLAGS, etc,
whose latter setting will cover the previous one.
So clean all these up.
Also, remove the comment which suggests settings GOVERSION to "1.10%",
as it's no longer valid for current OE.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
cri-o depends on ostree, libselinux and libseccomp
and we should check if the layer which provides these
recipes exist or not before go on.
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Currently kubernetes does not build for qemux86, qemumips, qemumips64,
qemuppc. So set COMPATIBLE_HOST to make this clear. Otherwise we get
build failure when trying to build like below.
fatal error: bits/long-double-64.h: No such file or directory
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
DOCKER_BUILDTAGS has tags that exclude btrfs and devicemapper graph
drivers. To enable either, the tags have to be removed, but this isn't
easily possible as DOCKER_BUILDTAGS can't be overridden via a
bbappend.
Define a BUILD_TAGS variable in the docker recipe that is set with the
exclude tags, and use it for setting DOCKER_BUILDTAGS. This makes it
possible for downstream to tweak BUILD_TAGS/DOCKER_BUILD_TAGS via a
bbappend.
Signed-off-by: Anoop Karollil <anoop.karollil@ge.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Since commit applied in moby [61a3285 Support cross-compile for arm]
it hardcoded var-CC to support cross-compile for arm
Correct it with "${parameter:-word}" format, it is helpful for user
define toolchains
(Use Default Values. If parameter is unset or null, the expansion of
word is substituted. Otherwise, the value of parameter is substituted.)
61a3285864
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
When the go-lang container recipes were first created there were issues
with strip and the resulting binaries. As such, strip was inhibited for
the various packages.
This variable is now set in the default classes, and tests show that
strip works on the binaries (saving up to 2M on disk for some binaries)
with no runtime issues found.
So we drop our explicit set of the inhibit and let the build proceed
by the defaults.
If issues are found, we can re-enable the setting or bbappends can
turn it back on for builds showing issues.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Upgrading kubernetes to the 1.16 series. This is currently in alpha,
but will be released before the feature freeze.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating to the 1.15 release.
With this update there are significant new build constraints and
dependencies. As such, the cross binaries are now being be built
by default, with the old (non-cross) build being kept around as
an optional way to build the components.
There are still issues with the non-cross build, so it will
require more work in the future.
We also document the requirement for selinux and seccomp in the
README as dependencies if you build cri-o.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating to the latest containerd 0.2.x release. No build changes
were required, and runtime behaviour is the same.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating to the latest oci-systemd-hook version. We also refresh the
patches, specifically the selinux patch, for the updated context.
The additional cgroups mount patch needed to be tweaks for new
required parameters, but is otherwise unchanged.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating the reference spec to v1.01. No functional or runtime changes
are expected from this.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating the docker community edition to the 19.03 series.
The build changes are minor (mainly cleanup), but otherwise, we
are changing branches and setting new SRCREVs.
The LICENSE checksum tweak is due to copyright year changes in
the files.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
updating the full community build (moby) of the docker engine, cli
and networking components to the 19.03 release series.
The changes are minimal, versioning, branch selection, but otherwise
everything in the build is the same as the previous versions.
The SRCREVs are selected through an audit of moby and docker-ce to
synchronize the build points for the various components.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating the oci-image-tools to the tip of the master branch. This gets
us official integrations of some backported patches (along with other
associated minor fixes).
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating the reference/source package of the oci-image-spec to v1.0.1.
We also cleanup the install rule to be a bit simpler (by using
--parents), and remove the .tool directory (which is new to this
version), since it won't be package by default (and hence throws a
QA error) and we don't need the .tool/* files.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Updating both the pure opencontainers runc and the docker opencontainers
variants to -rc8.
We track the tip of master for opencontainers and for docker we match
the -ce and moby -rc8 commit hashes.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
after commit https://git.openembedded.org/openembedded-core/
commit/meta/classes/ptest.bbclass?id=b47194b57d94260b4e6438c5bf74914027f0b520
package ${PN}-ptest will depend on ${PN} by default,
but for docker-distribution, ${PN} is empty package, remove it from dependency
to avoid image do rootfs failure since nothing provides error.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
If docker run --init is used docker expects docker-init to be
present, if not Docker fails to start the container with the
following error:
docker: Error response from daemon: exec: "docker-init": executable file not found in $PATH.
However, docker-init does not get deployed by default since commit
d19fda3743 ("docker: consolidate common depends/options"). Readd
docker-init through a PACKAGECONFIG RDEPENDS to make sure it gets
deployed by default again.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Part of building cri-o is the generation of the 'conmon/config.h'
file. The content of this file is dynamic in that it has buffer sizes
and a socket path which will depend on constants that are set in other
parts of the code. For example the socket path can be setup for
Windows or for Linux.
To generate 'conmon/config.h' a small GO application is built and run
called crio-config. This isn't really suitable for a -native package
but we do have to run crio-config on the build host so we don't want
to cross compile it. We therefor use the native GO to build this. This
change allows things to work when the build host arch and the target
arch don't match. A small update to the Makefile avoids mixing build
host arch and target arch GO packages.
Finally, We drop the crio-config binary from the install as it is only
used to create the conmon/config.h as part of the build. This is
consistent with the Makefile's install rule which does not install
this binary as it has no use on the target.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
After oe-core commits
5f48939e2640 [goarch.bbclass: use MACHINEOVERRIDES and simplify go_map_arm()]
6300c4a83f7c [go.bbclass:Export more GO* environment variables]
we see a build failure with cri-o:
| go build runtime/cgo: attempting to install package runtime/cgo into read-only GOROOT
| Makefile:112: recipe for target 'conmon/config.h' failed
| make: *** [conmon/config.h] Error 1
to avoid this we should not overwrite the GO* environment being setup
by the go.bbclass, so we drop most of our GO* exports here.
Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Remove the following patch, because the 3.11 version already contain it.
0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
The split between docker-ce and docker (moby) was initially
quite different, and docker-ce was more of a reference versus
a supported / working package.
Upstream has evolved such that both are valid options, and
may be chosen due to different requirements.
Rather than duplicating all the settings, we can move the
dependencies, init, rdepends, users, etc, into a .inc file and
share them.
For now, we keep the build separate, since depending on the
uprev status, they still can require different build options
and packaging.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
With the 5.0 kernel and docker 18.09 you can run into issues
pulling from docker hub due to an invalid/unknown certificate.
We fix that by adding ca-certifcates as a runtime dependency.
There can also be isuses setting up the network bridge, so we
add bridge-utils to the rdepends.
We also add some comments about this recipe and how it should
be updated using moby (and why it is like it is).
Finally, no one wants rt-tests and lxc when installing docker,
so we drop them from the rsuggests.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
With the 5.0 kernel and docker 18.09 you can run into issues
pulling from docker hub due to an invalid/unknown certificate.
We fix that by adding ca-certifcates as a runtime dependency.
There can also be isuses setting up the network bridge, so we
add bridge-utils to the rdepends.
Finally, no one wants rt-tests and lxc when installing docker,
so we drop them from the rsuggests.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
containerd has evolved since it was introduced and it no
longer makes sense for it to pull in container runtimes
as RRECOMMENDS. In particular most users don't want lxc to
be pulled in, and the hardcoded docker recommendation makes
it difficult to vary the docker implementation.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
runc shouldn't be RRECOMMENDing docker, since it is already
a RDEPENDS of docker. If we have this RRECOMMEND, you cannot
easily vary the docker and docker-ce packages with this runc
variant.
We could restore this RRECOMMEND in the future if a virtual/docker
dependency is introduced.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Upreving the moby variant of the docker runtime to match
the 18.09.3 updates that are in the docker-ce recipe.
The signficant comments (engine), are as follows:
667e800b2c bump swarmkit to 415dc72789e2b733ea884f09188c286ca187d8ec
fc01c2b481 Merge pull request #37874 from justincormack/remove-libtrust
5a7d6dcf21 Merge pull request #38820 from bynnchapu/mkimage-yum_add-new-tag-option
57c2228cc1 Add new option to specify tag information
6e86b1198f Merge pull request #38780 from thaJeztah/remove_parse_tmpfs_options
13b7d11be1 Remove Schema1 integration test suite
98fc09128b Remove the rest of v1 manifest support
8aca18d631 Merge pull request #38813 from cpuguy83/add_experimental_interface
fa9df85c6a Had `HasExperimental()` to cluster backend
9c83848fc9 Merge pull request #38808 from alexellis/derek/add_pr_description_required
45eae4cb2b Merge pull request #38806 from tonistiigi/rootless-build-fixes
5c152ea10f Merge pull request #38810 from thaJeztah/network_dangling_docs
989d497d51 Merge pull request #38565 from dave-tucker/jenkinsfile
f9b9d5f584 builder-next: fixes for rootless mode
dc52692458 Merge pull request #38675 from thaJeztah/refactor_pkg_sysinfo
ca91918dd4 docs follow-ups for networks "dangling" filter
ed681c5c0d Merge pull request #38805 from thaJeztah/better_polling
3c9b9409e2 Update Derek behaviour
8df160dde7 Merge pull request #38790 from nakabonne/refactor-setting-graph-driver
ba641fef28 Merge pull request #31551 from KarthikNayak/dry_run
348d793351 Merge pull request #38737 from thaJeztah/fix_stopped_restart_containers
8c0ecb6387 Fix stopped containers with restart-policy showing as "restarting"
91d934b41b Merge pull request #38791 from thaJeztah/update_api_changes
131cbaf5b7 Network: add support for 'dangling' filter
67d6f174ae Add more details to RunningTasksCount
de7172b600 Merge pull request #38782 from Microsoft/fix-restart
501cb131a7 Merge pull request #38800 from dani-docker/esc-1090
4d7721cdcc Add Jenkinsfile
8073c4febd Merge pull request #38786 from gaorong/installer-shell-interpreter
3fbbeb703c set bigger grpc limit for GetConfigs api
5e77399b92 fix hack/dockerfile/install/containerd.installer test statement
19c5ff9c64 Merge pull request #38792 from thaJeztah/update_api_changelog
95faf3582c Merge pull request #38428 from thaJeztah/only_create_new_daemon_if_needed
5861a0db22 Fix container update resetting pidslimit on older API clients
fc77445147 Add new PidsLimit options to API version history
894ecb24d1 Merge the divided loops
dd94555787 Merge pull request #32519 from darkowlzz/32443-docker-update-pids-limit
308438c1ec Merge pull request #38783 from Microsoft/jjh/restarthypertests
b3407d2029 Testing: create new daemon (only) if needed
faaffd5d6d Windows:Disable 2 restart test when Hyper-V
5afe2705ac Windows: Fix restart for Hyper-V containers
144c95029c pkg/mount: remove unused ParseTmpfsOptions
74eb258ffb Add pids-limit support in docker update
cbb885b07a Merge pull request #38632 from dperny/gmsa-support
0e54f5e3a9 Merge pull request #38686 from cpuguy83/remove_deprecated_newclient
9688f120a2 Merge pull request #38758 from thaJeztah/add_missing_char_device_mode
c7a38c2c06 Graphdriver: fix "device" mode not being detected if "character-device" bit is set
6f1d7ddfa4 Use Runtime target
7403497573 Merge pull request #38756 from kolyshkin/fix-test-int
447ce1325d Merge pull request #38741 from Microsoft/jjh/signalname
228bc35e82 make test-integration: use correct dockerd binary
c093c1e08b Merge pull request #38718 from thaJeztah/update_containerd_1.2.4
733a69e26b Windows:Update dumpstack event name
fcb286895b Merge pull request #38364 from cpuguy83/fix_stale_container_on_start
5ba30cd1dc Delete stale containerd object on start failure
818d2ddf02 Merge pull request #38730 from AkihiroSuda/rootlesskit-030alpha2
206004e3a7 Merge pull request #38728 from AkihiroSuda/fix-rootless-stick-xdg
f1a87919e0 bump up rootlesskit (fix CentOS failure)
56bea903ef dockerd: call StickRuntimeDirContents only in rootless mode
defb2b57a7 Update containerd client to 1.2.4
26413ede57 Update containerd runtime 1.2.4
0111ee7087 Merge pull request #38717 from thaJeztah/update_containerd_1.2.3
a327428bdb Merge pull request #38716 from thaJeztah/bump_runc_cve_2019-5736
c4763e02d1 Update containerd to 1.2.3
f03698b69a Update runc to 6635b4f (fix CVE-2019-5736)
6800954050 Merge pull request #38677 from tiborvass/fix-validate
f18cf23e97 Merge pull request #38692 from Microsoft/jjh/runtime-spec
98dcded647 Merge pull request #38701 from thaJeztah/bump_gorilla_mux
477eeef60c Bump gorilla/mux to 1.7.0
832ce62cb2 Merge pull request #38693 from tiborvass/fix-timeout-bug
42dcfc894a hack: Have TIMEOUT take -test.count into account when testing for flakiness
9f1b2b7031 Vendor opencontainers/runtime-spec 29686dbc
e063099f91 Completely remove `d.NewClient` from testing tools
e6fe7f8f29 Merge pull request #38685 from yongtang/go-vet
611b23c1a0 Merge pull request #38580 from andrey-ko/fix-restart
86312a4732 Fix go-vet issue
c63a2b7619 Merge pull request #38678 from Microsoft/jjh/lcowpushspace
f8e29fdd68 Merge pull request #38679 from AkihiroSuda/rootlesskit-030alpha1
6501a8ff90 Merge pull request #38684 from tonistiigi/vpnkit-restore
61da822eeb Merge pull request #38683 from tonistiigi/ptrace-seccomp-update
2c79d3520a Merge pull request #38681 from Microsoft/jjh/hcsshim086
20e8572a4c hack: restore bundling vpnkit on amd64
f091a8dd62 Merge pull request #38680 from Microsoft/jjh/dumpduterr
e76380b67b seccomp: review update
07742515fb Vendor Microsoft/hcsshim @ v0.8.6
bc80e8df3e Windows CI: Dump possible panic log
bcc4c03092 bump up rootlesskit (fix armv7 compilation failure)
1603af9689 Merge pull request #38137 from tonistiigi/seccomp-ptrace
feb70fd5c9 hack: no need to git fetch in CI
20383d504b Add support for using Configs as CredentialSpecs in services
04995fa7c7 Add CredentialSpec from configs support
2c8522b0a3 LCOW:Enable image push when files have spaces
e7a9a7cdbc Merge pull request #35355 from x1022as/unless-stop
8e06006717 Merge pull request #37296 from yusuf-gunaydin/lcow_limits
53460047e4 Refactor pkg/sysinfo
93d994e29c Merge pull request #38050 from AkihiroSuda/rootless
ec87479b7e allow running `dockerd` in an unprivileged user namespace (rootless mode)
86bd2e9864 Implemented memory and CPU limits for LCOW.
50e63adf30 Merge pull request #38574 from StefanScherer/improve-no-matching-manifest-error
b17188be39 Merge pull request #38673 from thaJeztah/fix_proto_capitalization
8e293be4ba fix unless-stopped unexpected behavior
b462bba1b0 Bump SwarmKit to fix proto capitalization
d440fea460 Merge pull request #38655 from thaJeztah/override_validate
acf08532a7 Merge pull request #38520 from thaJeztah/fix_update_status_check
94429d4078 Remove use of serviceSpecIsUpdated
0e60e48134 Bump swarmkit to 1a0ebd43b2d156983a695f90e56f4ecba6ced902
87903f2fb5 Merge pull request #38609 from kwojcicki/enhancement/38518-docker_info_builder_version
8a43b7bb99 Merge pull request #38570 from thaJeztah/keep_your_head_up
fc4a40b510 Merge pull request #38658 from thaJeztah/use_stable_cli
7e7e100be0 Add HEAD support for /_ping endpoint
393838ca5e Merge pull request #38569 from thaJeztah/forget_about_it
22e4f12e5f Merge pull request #38653 from sreis/38636-fix-nil-pointer-dereference
468eb93e5a Use 17.06 stable channel for CLI used in CI
5a2f15b5d5 Merge pull request #38625 from thaJeztah/remove_docs_role
2a08f33166 Allow overriding repository and branch in validate scripts
44af96c0fc Merge pull request #38634 from kolyshkin/cp-longname
3134161be3 Fix nil pointer derefence on failure to connect to containerd
0d9dc3f4b5 Merge pull request #38604 from thaJeztah/remove_deprecated_newclient
8b10292153 Merge pull request #38644 from yongtang/fatalf
5fba9b32b3 Merge pull request #38635 from JoeWrightss/patch-3
3a4bb96ab7 Remove use of deprecated client.NewClient()
5801c04345 Merge pull request #38380 from olljanat/capabilities-support
0cde75e2ea Merge pull request #38398 from RaviTezu/replace_gotty_with_aec
f04e8bb075 Fatalf -> Fatal
6351619e2c Merge pull request #38606 from thaJeztah/move_client_opts
974294600f Fix some typos in ROADMAP.md
f55a4176fe pkg/archive:CopyTo(): fix for long dest filename
27c7178933 Merge pull request #38629 from thaJeztah/bump_golang_1.11.5
20b34412dc Bump Golang 1.11.5 (CVE-2019-6486)
e017717d96 keep old network ids
de86ba27fb Merge pull request #38598 from yongtang/serviceRunningTasksCount
89ce20fa25 Merge pull request #38603 from thaJeztah/remove_deprecated_daemonhost
2cb25409c2 Remove "docs maintainers" section
528ca931e6 Merge pull request #38621 from fntlnz/fix/reviewing-merge-label
c133553154 REVIEWING.md: Fix status 4 merge label
0ecba1523d Merge pull request #38422 from debayande/even-more-names-redux
80d7bfd54d Capabilities refactor - Add support for exact list of capabilities, support only OCI model - Support OCI model on CapAdd and CapDrop but remain backward compatibility - Create variable locally instead of declaring it at the top - Use const for magic "ALL" value - Rename `cap` variable as it overlaps with `cap()` built-in - Normalize and validate capabilities before use - Move validation for conflicting options to validateHostConfig() - TweakCapabilities: simplify logic to calculate capabilities
f821f002e5 Adding builder version
8d7889e510 Merge pull request #38605 from thaJeztah/explicit_nilerror_check
69d9ff3455 Move deprecated client constructors to a separate file
01eb35bfb3 Move client-opts to a separate file
3449b12cc7 Use assert.NilError() instead of assert.Assert()
3105ca26dc integration-cli: remove deprecated daemonHost() utility
e485a60e2b Move serviceRunningTasksCount to integration/internal/swarm
1990a3e409 replace gotty with aec, since gotty hasn't been updated since very long time and aec can drop in for gotty Signed-off-by: RaviTeja Pothana <ravi-teja@live.com>
5ec31380a5 Merge pull request #38481 from thaJeztah/run_volume_tests_remotely
64fd09bd29 Merge pull request #38553 from thaJeztah/faster_api_node_drain_pause
bba833928c Merge pull request #38487 from LinuxMercedes/error-on-empty-dockerfile
0dc531243d Merge pull request #38554 from thaJeztah/check_for_errors
4b9db209fe Improve 'no matching manifest' error
5ebb679598 Merge pull request #38544 from thaJeztah/dont_sprintf
cd60e8a752 Merge pull request #38547 from yongtang/waitAndAssert
e21f50cbf0 Merge pull request #38572 from yongtang/assert.NilError
b5be9f63eb Merge pull request #38567 from thaJeztah/use_the_skip
38015177d8 Merge pull request #38557 from thaJeztah/remove_duplicated_code
a827f17306 Merge pull request #38552 from thaJeztah/improve_test_events_filter_labels
508e5f7b70 Merge pull request #37974 from thaJeztah/add_more_component_versions
834801a4e5 Merge pull request #38568 from thaJeztah/fix_ping_test
52475f8dd5 Replace t.Fatal(err) with assert.NilError(t, err)
a0674481ee Merge pull request #38566 from thaJeztah/fix_task_logs_swagger
68e266ee3a Replace waitAndAssert in config_test.go with poll.WaitOn
18c7e8b927 Test: dockerfiles with no instructions are detected
64466b0cd9 Convert parse errors to more informative format
d104a750f9 Update buildkit version -- improved parse errors
8472e04f79 Merge pull request #38555 from yongtang/assert.NilError
ef91b404ef Merge pull request #38524 from thaJeztah/update_docker_py
b8277edd9c Merge pull request #38546 from thaJeztah/wait_a_second
2137b8ccf2 Add containerd, runc, and docker-init versions to /version
5f788fbf56 Add Cache-Control headers to disable caching /_ping endpoint
46b80550c1 Fix ping-tests using wrong status-code
c11be31710 TestCgroupDriverSystemdMemoryLimit: use skip.If()
5ccc0714f7 Swagger: fix "task logs" outside of "tasks" section
beef00cb26 Merge pull request #38558 from thaJeztah/pass_client_instead_of_daemon
a3f626d101 Merge pull request #38543 from thaJeztah/save_the_environment
56a68c15f8 Integration tests: remove some duplicated code, and preserve context
60d93aab2e Refactor TestInspectNetwork
8172edf04c GetRunningTasks: pass client instead of daemon
0e15c02465 Make TestEventsFilterLabels less flaky
32f6aeee8a Replace t.Fatal(err) with assert.NilError(err)
2e326eba70 Add missing error-check in TestAPISwarmManagerRestore
ebdc9a3afc Slightly speed up TestAPISwarmNodeDrainPause
ebc0750e9f Merge pull request #38459 from JoeWrightss/patch-2
1ac557c506 Merge pull request #38548 from yongtang/networkIsRemoved
28b7824caa Remove code duplication and consolidate networkIsRemoved
e3c03d172e Merge pull request #38545 from thaJeztah/integration_on_swarm_nits
973ca00d60 reduce flakiness of TestSwarmLockUnlockCluster and TestSwarmJoinPromoteLocked
8f158db4ed pkg/signal.TestTrap: use a subtest
c855d411bf testing: pkg/signal; remove redundant fmt.Sprintf()
ead47f0a83 no need to set exec.Env to os.Environ() as it's the default
b84bff7f8a Fix: plugin-tests discarding current environment
ad2765b35e Merge pull request #38523 from olljanat/flaky-test-finder
c7444a4f31 Merge pull request #38537 from vdemeester/update-code-owners
295413c9d0 Merge pull request #38533 from kolyshkin/derek
89e3a4af62 fix code typo
f25972151b Merge pull request #38530 from SUSE/fix-config-segfault
66210fae70 .DEREK.yml: add myself
5d5798c7cc Merge pull request #38527 from thaJeztah/bash_the_bashisms
c0c05affc7 Update docker-py to 3.7.0
8a8fd37f6f CI: Introduce flaky test finder
3efd75b972 Merge pull request #38529 from thaJeztah/improve_make_help
4627bc8a26 Remove myself from codeowners 😅
7f3910c92e Fix possible segfault in config reload
202c9d8c98 Makefile: make help: fix newline wrapping, and missing targets
2a5405bedd Run volume-tests again remote daemons as well
37498f009d Shell scripts: fix bare variables
c3650770cc Revert "Bash scripts; use double brackets, fix bare variables, add quotes"
b4842cfe88 Merge pull request #38354 from thaJeztah/fix_ipam_swagger
3f2ecb5452 Merge pull request #38515 from yongtang/01082019-oll.WaitOn
cb501886db Merge pull request #38456 from thaJeztah/make_errdefs_idempotent
156b2abd0c Merge pull request #38472 from thaJeztah/remove_debugging_code
9dd43415ae Merge pull request #38499 from olljanat/change_serviceIsUpdated2
0492b0997b Use poll.WaitOn in authz_plugin_test.go
b868ada474 integration: Corrected service update tests logic
77df18c24a Merge pull request #38509 from thaJeztah/bump_containerd_v1.2.2
27cc170d28 Bump containerd to v1.2.2
f9dbd383bb Merge pull request #38418 from thaJeztah/mega_power
e8592828eb Merge pull request #38482 from thaJeztah/skip_consistently
263e28a830 Fix some minor wording / issues
69c0b7e476 Simplify skip checks
84224935ea Only build IPCmode tests on Linux
a3948d17d3 Improve consistency in "skip"
545d00e752 Merge pull request #38416 from thaJeztah/fix_build_session_test
f5238762a8 Merge pull request #38480 from thaJeztah/run_slow_test_parallel
16df93c231 Merge pull request #38497 from yongtang/go-vet
7315a2bb11 Fix go vet issue in daemon/daemon.go
8edcd4c3cd integration: wait for service update to be completed
2ee53a42db Merge pull request #38490 from kolyshkin/test-rename-anon-ct
55b5b8de79 Merge pull request #38486 from thaJeztah/dont_use_deprecated_envclient
926edd68a5 Merge pull request #38493 from thaJeztah/skip_kmem_tests_on_rhel
b958b430aa Merge pull request #38417 from thaJeztah/replace_newclient
0104abf0d6 Merge pull request #38409 from innovimax/patch-1
5a718ef0f9 Merge pull request #38496 from Microsoft/jjh/dockerfile.windows
6825db8c94 Merge pull request #38450 from thaJeztah/remove_deprecated_grpc_functions
3bcf582366 Add note to Dockerfile.windows
1e1156cf67 Skip kernel-memory tests on RHEL/CentOS daemons
de640c9f49 Merge pull request #38038 from AkihiroSuda/ubuntu-overlayfs
74ad4f2d2c Merge pull request #38423 from olljanat/disable-integration-tests-on-z-and-powerpc
ae3ca7bb97 Run TestImportExtremelyLargeImageWorks in parallel
2ca6896aee TestRenameAnonymousContainer: fix error msg
c8ff5ecc09 Remove use of deprecated client.NewEnvClient()
2b7e084dc9 Merge pull request #38473 from thaJeztah/use_testenv_client
e78a3dca21 Merge pull request #38477 from yongtang/38407-follow-up
0de62d9bbc Integration: use testenv.APIClient()
4d88a95d67 Don't mix t.Parallel() wth environment.ProtectAll()
264775b52b Make errdefs helpers idempotent
3f7898cfcd Merge pull request #38451 from thaJeztah/skip_test_info_warnings
9a6b704fac Merge pull request #38464 from thaJeztah/wrap_some_errors
1930e8eb2e Merge pull request #38455 from thaJeztah/add_errdefs_nil_check
0281db99a9 Follow up to PR 38407
626022d0f6 Merge pull request #38407 from maximilianomaccanti/master
f9fedf1308 TestBuildMultiStageParentConfig: remove unneeded sleep and ImageList call
e0e9942dc5 Merge pull request #38419 from thaJeztah/fix_nuke_everything
27234ffe3e Merge pull request #37564 from adshmh/migrate-docker_cli_service_update_test-to-integration-service-fixed-flake
8f93a33755 Merge pull request #35894 from joninvski/improve-syslog-logger-unit-test-coverage
744940056d client/request: wrap some errors
43a8ec654b Add missing nil-check on errdefs.Unavailable()
72b0b0387d Replace deprecated grpc.ErrorDesc() and grpc.Code() calls
f76d6a078d Merge pull request #38370 from farnasirim/36413-bind-dir-skip-copy
056840c2a6 Skip TestInfoAPIWarnings on remote daemons
53bb992c3b Merge pull request #38445 from thaJeztah/dont_use_deprecated_withdialer
8d3feccfa9 Replace deprecated client.WithDialer()
31348a2936 fix typo
e6d7df2e5d Use BuildKit to skip source code COPY if BIND_DIR set
5ddb1d410a Merge pull request #38426 from thaJeztah/remove_unused_experimental_check
c32f042e2b Merge pull request #38430 from thaJeztah/fix_prefix_double_slash
a7020454ca Add options validation to syslog logger test
be151a73f0 migrated service integration tests from integration-cli/docker_cli_service_update_test.go to integration/service
8fbf2598f5 Merge pull request #37940 from olljanat/replicas-max-per-node
5d5adcd898 Fix double slash after $PREFIX
3587efed6b Merge pull request #38414 from thaJeztah/minor_volume_tweaks
052a20f361 Merge pull request #38424 from thaJeztah/bash_da_bash_bash_bash
43b15e924f Remove SameHostDaemon, use testEnv.IsLocalDaemon instead
362f737e1c Remove unused ExperimentalDaemon, NotS390X, NotPausable requirement checks
9a3911ced8 Fix TestBuildWithSession, TestBuildSquashParent using wrong daemon during test
02157c638b Disabled these tests on s390x and ppc64le: - TestAPISwarmLeaderElection - TestAPISwarmRaftQuorum - TestSwarmClusterRotateUnlockKey
153171e9dd Added support for maximum replicas per node to services
297b30df5f Bash scripts; use double brackets, fix bare variables, add quotes
d147fe0582 Merge pull request #38413 from slp/master
e50f791d42 Makes a few modifications to the name generator.
0d6dd91e13 Move `validateOpts()` to local_unix.go as it is not used on Windows
5580b79813 PowerShell: fix "Nuke-Everything" failing to remove images
755d3057ab PowerShell: Go-version check; only select the first match
6130c89cce PowerShell: remove aliases, use their real commands instead
b394d25f03 PowerShell: move $null to left-hand for comparisons
0f8b616c0c PowerShell: fix mixed tabs/spaces
11b88be247 Remove validationError type, and use errdefs.InvalidParameter
342f7a357a Use a map[string]struct{} for validOpts
d5b271c155 add check for local volume option
2cb7b73a1b Test: Replace NewClient() with NewClientT()
ad8a8e8a9e NewStreamConfig UTest fixes
687cbfa739 Split StreamConfig from New, Utest table driven
512ac778bf Add two configurable options to awslogs driver
2cb26cfe9c Merge pull request #38301 from cyphar/waitgroup-limits
a07fbfbd15 Merge pull request #38411 from kolyshkin/dont-panic
5a52917e4d daemon: switch to semaphore-gated WaitGroup for startup tasks
ab318fa6ca Merge pull request #38403 from thaJeztah/switch_to_alpine_3.8
5846db10af layer/layer_store: ensure NewInputTarStream resources are released
7e7ff2a033 integration-cli/build: don't panic
c77afb700d Merge pull request #38402 from thaJeztah/bump_golang_1.11.4
92b34ec9c6 Merge pull request #38408 from josegonzalez/patch-1
a2d0de6559 Correct spelling error in roadmap
7c8dcebd30 Switch Dockerfile.e2e to alpine 3.8
3770f38647 Bump Golang 1.11.4
bcd817ee6b Merge pull request #38393 from thaJeztah/refactor_container_validation
170ed8d7e7 Merge pull request #38399 from thaJeztah/fix_govet_issues
7e220b3f83 Merge pull request #38266 from thaJeztah/logrus_formatting
b33dc72523 Merge pull request #38335 from yongtang/38258-syslog-rfc5424
f81cafd12b Merge pull request #38381 from thaJeztah/unify_api_version_checks
9c83124302 Fix some go_vet issues
40f245b7c8 Merge pull request #38097 from cpuguy83/roadmap.md
1edf943dc7 Configure log-format earlier, and small refactor
d1117e8e10 Merge pull request #38372 from FabianKramm/fix-darwin-compile
f6002117a4 Extract container-config and container-hostconfig validation
44b360f884 Merge pull request #38391 from olljanat/derek
5fc0f03426 Extract workingdir validation/conversion to a function
c0697c27aa Extract port-mapping validation to a function
e1809510ca Extract restart-policy-validation to a function
6a7da0b31b Extract healthcheck-validation to a function
b6e373c525 Rename verifyContainerResources to verifyPlatformContainerResources
c07d79bcc2 Merge pull request #38369 from thaJeztah/bump_golang_1.11.3
e278678705 Remove unused argument from verifyPlatformContainerSettings
10c97b9357 Unify logging container validation warnings
2e23ef5350 Move port-publishing check to linux platform-check
46c713ab5a Add curators rights for olljanat
57f1305e74 Move "OOM Kill disable" warning to the daemon
419972a714 Merge pull request #38376 from crosbymichael/bump-containerd
8422e6f6fa Merge pull request #38383 from tonistiigi/exec-ctx
c4c4963228 Unify API-version checks
332f134890 libcontainerd: prevent exec delete locking
efba5f8565 Merge pull request #38371 from farnasirim/doc-test-fix-regex
e5d9d72162 Update containerd to aa5e000c963756778ab3ebd1a12c6
eea4977d02 Fix unmount redeclaration on darwin in github.com/docker/docker/pkg/mount
c46c3c1689 Update test.md doc to fix sample test regex
6b7c093b0d Bump Golang 1.11.3 (CVE-2018-16875)
f711f2bdc3 Merge pull request #38360 from thaJeztah/fix_missing_import
d69968d6d3 Fix missing import
56cc56b0fa Merge pull request #38126 from mjameswh/fix-1715
759ad5a981 Merge pull request #38338 from Bevisy/master
f810141387 Merge pull request #38348 from Quasilyte/patch-1
f34727f704 Merge pull request #38316 from dmandalidis/xattr-fix
d4a6e1c44f Merge pull request #38068 from kolyshkin/err
a5dd68186c Swagger: fix definition of IPAM driver options
62d80835ab Merge pull request #38342 from crosbymichael/oci-refactor
560ac1c996 Merge pull request #38135 from moredhel/defer-container-interface
510805655b Merge pull request #38265 from AkihiroSuda/remove-migrate-v1
b940cc5cff Move caps and device spec utils to `oci` pkg
a5c185b994 registry: use len(via)!=0 instead of via!=nil
4555ae59e4 Merge pull request #38294 from jaswdr/issue-38096
d0192ae154 Ignore xattr ENOTSUP errors on copy (fixes#38155)
6533136961 pkg/mount: wrap mount/umount errors
90be078fe5 pkg/mount: refactor Unmount()
2f98b5f51f aufs: get rid of mount()
77bc327e24 UnmountIpcMount: simplify
8072e62d83 pkg/system/stat_unix: wrap errors in PathError
65f669331a delete unnecessary blank lines
3e44f58966 Merge pull request #38142 from thaJeztah/fix_api_return_code
ec153ccfc8 pkg/archive: add TestReexecUserNSOverlayWhiteoutConverter
037e370de1 pkg/archive: annotate tests that requires initial userns
f8ed19c8b4 pkg/archive: support overlayfs in userns (Ubuntu kernel only)
6e3113f700 Merge pull request #38327 from andrewhsu/ctrd
0cd6eabeef Merge pull request #38339 from tonistiigi/update-buildkit
126f371e47 Fix mistake in docs/contributing/test.md running specific unit test (#38096)
ce58fcedd8 Merge pull request #38292 from AkihiroSuda/fix-pkg-archive-xattr-test
32f4805815 vendor: update buildkit to d9f75920
7bfd8a7a72 Merge pull request #38336 from yongtang/12082018-go-vet
1082d1edf2 go vet fix for TestfillLicense
fa6dabf876 Add zero padding for RFC5424 syslog format
edf5134ba7 Merge pull request #38323 from nostrad/fix-deb-security-check
78045a5419 use empty string as cgroup path to grab first find
75c4b74155 vndr libnetwork to adjust for updated runc
615eecf8ac update containerd to v1.2.1
a4a816b6bb Merge pull request #38328 from andrewhsu/abbr
1014b2bb66 update just installer of containerd to 1.2.1
5a9cb68eb3 Merge pull request #38314 from gaozhenhai/master
8db540370c mkimage: Fix Debian security presence check
1895e082b6 Merge pull request #38313 from Microsoft/jjh/hcsshim08
ce67af6938 Fix log output format
05151dcc39 Windows:Bump HCSShim to v0.8.3
65d9a5dde5 Merge pull request #38267 from thaJeztah/wrap_errors
6a3d1e3e3e Unify the defer syntax
ad1354ffb4 Merge pull request #38305 from OmriShiv/master
5480e74971 Merge pull request #38299 from jaswdr/issue-38285
fe1083d462 fix typo
49217e7b2d Merge pull request #37302 from cyphar/nis-domainname
64e52ff3db Masked /proc/asound
f38ac72bca oci: add integration tests for kernel.domainname configuration
7417f50575 oci: include the domainname in "kernel.domainname"
a8d2b29e8d Use errors.Wrap() in daemon/config
a2e384682b Use idtools.LookupGroup instead of parsing /etc/group file for docker.sock ownership
baab736a36 Merge pull request #38291 from tonistiigi/builder-networking-performance
9ddd6e47a9 pkg/archive: fix TestTarUntarWithXattr failure on recent kernel
bcf1967dd0 builder: delete sandbox in a goroutine for performance
1ad272c7e4 builder: set exernalkey option for faster hook processing
852542b397 Merge pull request #38284 from cpuguy83/context_in_api
8391a667d6 Merge pull request #38281 from thaJeztah/kernel_memory_tcp_docs_touchups
1b22bc52fa Merge pull request #38282 from thaJeztah/kernel_memory_tcp_warnings
05390c4f6e Rely on request.Context() cancellation
d5916f6393 Update gorilla/mux
bb7de1f7cb Minor docs touch-ups for KernelMemoryTCP support
6f70946a27 Add warning to /info if KernelMemoryTCP is not supported
d3e75e4220 Merge pull request #37043 from yongtang/37038-kernelTCP
6fa149805c Merge pull request #37638 from jterry75/devices_windows
2555344858 Merge pull request #38278 from Microsoft/jjh/busyboxstage2
561e0f6b7f Windows: Bump busybox to v1.1
ed37f60b86 Merge pull request #38263 from gaozhenhai/master
ae7210f79d Merge pull request #38277 from Microsoft/jjh/busybox
ee74cd777a Skip KernelMemoryTCP if version is less than 1.40
f023816608 Add memory.kernelTCP support for linux
ea3ac621e3 Merge pull request #37982 from Microsoft/jjh/archive
c7a3c3cd94 Merge pull request #38239 from tiborvass/filters-clone
4a74a46f44 Update roadmap to reflect reality.
56b732058e pkg/archive fixes, and port most unit tests to Windows
14c8b67e51 Windows:Tie busybox to version
b466101d43 Fix log output when don't use formatted
b0de11cf30 Add test for status code on conflicting service names
0b7cb16dde Merge pull request #38102 from selansen/master
1fea38856a Remove v1.10 migrator
618741ba87 Merge pull request #38171 from ZYecho/fix-multi-images-filter
32180ac0c7 VXLAN UDP Port configuration support This commit contains changes to configure DataPathPort option. By default we use 4789 port number. But this commit will allow user to configure port number during swarm init. DataPathPort can't be modified after swarm init. Signed-off-by: selansen <elango.siva@docker.com>
a7ce3140f5 Vendor commit for VXLAN UDP Port configuration support This commit brings Swarmkit and Libnetwork library changes Signed-off-by: selansen <elango.siva@docker.com>
74baf62f4b Merge pull request #38245 from thaJeztah/bump_containerd_v1.2.1
5007c36d71 cli: fix images filter when use multi reference filter
c58cd154f5 Merge pull request #38231 from adshmh/bump-swarmkit-tmpfs-exec-option
b2d99865ea Add --device support for Windows
cf5d4aa1ad Merge pull request #38204 from thaJeztah/check_for_more_ipvs_options
2483e03531 Merge pull request #38238 from tiborvass/fix-38208
e6244aa598 Merge pull request #38226 from tonistiigi/nil-credentials
b1d28ee6bb Merge pull request #38244 from tonistiigi/vendor-buildkit
2fb5de68a9 Update containerd to v1.2.1-rc.0
59eacf28d6 filters: add Clone() method
6204eb0645 vendor: update buildkit to v0.3.3
62923f29f5 builder: ignore `label` and `label!` prune filters
369da264ba builder: deprecate prune filter `unused-for` in favor of `until`
bce98f9a3e bump swarmkit to bc032e24784ea618044ee438fedec3458abb2ef9 to vendor exec option for tmpfs
68cbc3712c Merge pull request #38168 from crosbymichael/ctd12
04287e4934 Merge pull request #38196 from thaJeztah/fence_default_addr_pools
6c51d0707d Merge pull request #38219 from gowalking/master
effb2bd9d2 builder: avoid unset credentials in containerd
d13528c635 wip: bump containerd and runc version
7af4c904b3 Bump containerd binary to fix shim hang
fc0038a3ed Update runc to 58592df56734acf62e574865fe40b9e53e967910
8674930c84 Update containerd to v1.2.0
287144db42 Merge pull request #38213 from thaJeztah/add_note_about_runc_vendoring
92d545552f Merge pull request #38218 from thaJeztah/fix_default_addr_pools_swagger
e6b56ffed7 Merge pull request #38216 from thaJeztah/bump_sys
f11b87bfca Merge pull request #37831 from cyphar/apparmor-external-templates
7c5cf58328 Fix a typos in layer_windows.go
2e8c913dbd Add missing default address pool fields to swagger
826da28efa Bump golang.org/x/sys to 90868a75fefd03942536221d7c0e2f84ec62a668
da3810d235 Add a note about updating runc / runc vendoring
44e1c6ce81 Add CONFIG_IP_VS_PROTO_TCP, CONFIG_IP_VS_PROTO_UDP, IP_NF_TARGET_REDIRECT to check-config.sh
7632ccbc66 Ignore default address-pools on API < 1.39
758255791e Merge pull request #38177 from mooncak/fix_duplicate
345d1fd089 Cleanup duplication in daemon files
a5e2dd2bb1 Merge pull request #38128 from kolyshkin/runc
13e9563d42 Merge pull request #38123 from thaJeztah/bump_swarmkit
279452fedd Merge pull request #38159 from thaJeztah/bump_toml_0.3.1
1e7c43dfae Merge pull request #38161 from thaJeztah/listen_very_carefully_I_shall_say_this_only_once
a7fe1ae2c2 Remove duplicate CONTRIBUTING.md
6b0b9962da Bump BurntSushi/toml to v0.3.1
06a4fd5009 Merge pull request #38141 from thaJeztah/handle_invalid_json
bd224b5fe5 Merge pull request #38003 from AkihiroSuda/non-recursive-bind
bb1914b195 Merge pull request #38125 from kangp3/add_scheme_override
c7b488fbc8 API: properly handle invalid JSON to return a 400 status
2f902930e9 Merge pull request #38143 from thaJeztah/bump_golang_1.11.2
8972aa9350 runc.installer: add nokmem build tag for rhel7 kernel
d022271796 Merge pull request #37845 from wk8/wk8/allow_arbitrary_docker_run_flags
335736fb01 Bump runc
c21c9b5fad Merge pull request #38053 from tiborvass/bk-fix-filters
bfc62bb1f9 Merge pull request #38145 from thaJeztah/bump_containerd_client_only_v1.2.0
596cdffb9f mount: add BindOptions.NonRecursive (API v1.40)
48620057be builder: fix bugs when pruning buildkit cache with filters
12bba16306 Merge pull request #38029 from lifubang/checkpointrm
dd7799afd4 update containerd client and dependencies to v1.2.0
e80ee5206e Bump Golang to 1.11.2
22d3946d6c Merge pull request #38117 from cpuguy83/volume_docstrings
b092ced7e6 Merge pull request #38122 from mjeromin/38070-go-command-detect
60ec93f7c2 Fix error handling when go command is missing
1124543ca8 seccomp: allow ptrace for 4.8+ kernels
35985ca087 Merge pull request #38133 from thaJeztah/cleanup_volume_tests
be17863fb1 Merge pull request #38136 from dnephin/remove-myself-from-codeowners
60db693e48 Remove myself from codeowners of client/**
3fccc47a09 Merge pull request #38127 from kolyshkin/int-fixes
e81d84971f Fix some doc strings in the volume package
b334198e65 Enable volume tests on Windows
05e18429cf Integration test: use filepath.Join() to make path cross-platform
8e8cac8263 Some improvements to TestVolumesInspect
2ed512c7fa integration-cli/Test*Swarm*: use same args on restart
06afc2d1e6 TestAPISwarmLeaderElection: add some debug
24cbb98971 docker_cli_swarm_test: factor out common code
6016520162 internal/test/daemon: don't leak timers
73baee2dcf integration-cli: fix netns test cleanup
66cb1222d6 docker_cli_swarm_test.go: rm unused arg
be2f7ce3ca Add an op func to override Client.scheme
46652b00ad Merge pull request #38120 from thaJeztah/bump_libnetwork
be3843c8c8 Bump SwarmKit to 8d8689d5a94ac42406883a4cef89b3a5eaec3d11
87558ad4dd update libnetwork to fix iptables compatibility on debian
104cbc0780 Merge pull request #38115 from thaJeztah/fix_double_scheme
1434204647 Fix double "unix://" scheme in TestInfoAPIWarnings
547f11d84c Merge pull request #38103 from tonistiigi/cluster-grpc-limits
99a7a4dcd0 checkpoint rm fail
aea6fdf3d3 Allow to override the Makefile's `DOCKER_MOUNT` variable
4822fb1e24 apparmor: allow receiving of signals from 'docker kill'
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
It depends on virtual/containerd which is provided by
containerd-opencontainers, so set the same COMPATIBLE_HOST as the last one.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>