mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
CI: Make tests work with Docker API version 1.42 (#576)
* Make tests work with API version 1.42. * Make sure anonymous volume is separated from container a bit earlier. * Another try.
This commit is contained in:
@@ -2743,6 +2743,8 @@
|
||||
when:
|
||||
- kernel_memory_1 is not failed or 'kernel memory accounting disabled in this runc build' not in kernel_memory_1.msg
|
||||
- "'Docker warning: Specifying a kernel memory limit is deprecated and will be removed in a future release.' not in (kernel_memory_1.warnings | default([]))"
|
||||
# API version 1.42 seems to remove the kernel memory option completely
|
||||
- "'KernelMemory' in kernel_memory_1.container.HostConfig or docker_api_version is version('1.42', '<')"
|
||||
|
||||
####################################################################
|
||||
## kill_signal #####################################################
|
||||
|
||||
Reference in New Issue
Block a user