-
Notifications
You must be signed in to change notification settings - Fork 575
Zalenium not compatible with Docker 20.10.0 #1215
Comments
I am having a similar issue with Chrome not starting under Zalenium on MacOS 10.15.7 with Docker 20.10.0 installed. This worked prior to my doing the Docker update. |
@garmilw: Could be the same issue. problem is that when you install a new docker image Zalenium will use the latest installed image. So when using Docker with multiple images besides Zalenium this will be tricky and not stable. Possible workaround/solutions:
|
You could run Zalenium inside kubernetes instead. Then the docker version won’t matter anymore as long as it’s compatible with whatever Kubernetes flavour you choose. |
It's not really true. Zalenium depend on fabric8 kubernetes-client 4.1.0 which isn't compatible with K8S versions above 1.9 in theory (but above 1.16 in practice) |
@iandeveseleer Ahh yes the fabric8 client is a bit older. I have an installation running on Kubernetes 1.11. What happens after 1.16 which makes it not work? Zalenium doesn’t use anything particularly complex in Kubernetes, creating and deleting pods as well as executing commands in pods (from memory). |
@pearj Some deleted apiVersion are used in communication with Kubernetes, making node containers creation impossible. |
This modification on getLatestDownloadedImage method worked for me, to make Zalenium working with Docker 20.10.X. |
@danielvanmil, I have patched src/main/java/de/zalando/ep/zalenium/container/DockerContainerClient.java to its simplest expression and it is fine for my use case. At least I can use zalenium with docker 3.x
|
@iandeveseleer @dbire : docker images available somewhere? |
Would be great if one of you could publish an image somewhere. @iandeveseleer @dbire |
I have created an image with @iandeveseleer patch here: https://hub.docker.com/r/clsplatform/zalanium-patched It worked for our use case. |
Hi, is it in the plans to fix this? It would be great can update to Docker 20, but we're stuck on 19 because of this bug. |
Yeah got that similar problem on Docker 20.10.2 CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES Zalenium took another image e.g. sonarqube instead of elgalu/selenium. agree with @komodin |
This project is no longer receiving updates. Feel free to use the workarounds mentioned above. |
🐛 Bug Report
Zalenium not compatible with Docker 20.10.0.
Most likely the cause is the Spotify Docker Client 8.15.0 that is not compatible with Docker 20.10. 0 as the filter feature is deprecated/changed, see changelog https://docs.docker.com/engine/release-notes/#20100 (Remove deprecated “filter” parameter for API v1.41 and up moby/moby#40491)
DockerContainerClient.getLatestDownloadedImage
uses the filter function, but now returns all the images because the filter is not applied anymore.To Reproduce
Expected behavior
Actual behavior
elgalu/selenium
imageTest script reproducing this issue (when applicable)
Environment
OS: Windows 10, Docker 20.10.0
Zalenium Image Version(s): dosel/zalenium:3.141.59z
Docker version: 20.10.0
The text was updated successfully, but these errors were encountered: