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:
Felix Fontein
2023-02-04 22:16:25 +01:00
committed by GitHub
parent 421bae419d
commit 3a1bfc4be2
3 changed files with 58 additions and 9 deletions
@@ -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 #####################################################