Unable to deploy Zalenium with DOCKER_HOST env #762
Comments
Hi @topikettunen, Sorry for the late reply. It does not work because we never tried it with Would you like to give us a hand a connect the dots so it is possible to use it? |
Upon very quick investigation I saw that you are using Spotify's Docker Client for controlling containers. That client seems to provide Since when you don't provide any DOCKER_HOST environment variable Docker uses the Unix socket by default (which you can then provide by sharing the socket via volume) and in the other hand when the variable is provided it tries to connect to the Docker host via TCP or SSH (from Docker 18.09 on). I'm not familiar with your code or Spotify's Docker Client (or Java in general) so basically I'm just spitballing ideas. |
Hi @topikettunen, We made some fixes and this |
Please make sure that you provide enough information for us to help you with this issue. Thank you!
Zalenium Image Version(s): 3.14.0g
Docker Version: Docker version 18.06.1-ce
If using docker-compose, version: -
OS: Windows 10, Ubuntu 16.04, Ubuntu 18.04
Docker Command to start Zalenium:
docker run --rm -ti --name zalenium -p 4444:4444 -e DOCKER_HOST=tcp://ip-addr -v videos:/home/seluser/videos --privileged dosel/zalenium start
If using Kubernetes, specify your environment, and if relevant your manifests: -
Expected Behavior -
To work similarly to running the Zalenium with
-v /var/run/docker.sock:/var/run/docker.sock
Actual Behavior -
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
The text was updated successfully, but these errors were encountered: