Hello,
I have an error in Gitlab-CI using docker-in-docker as a service. The driver is not able to ping the docker service but prints a generic error message without reporting the error message from the underlying docker library. This does not help solving the problem as there are many ways in which the connection can fail.
Reported error message: Unable to contact the Docker daemon. Please refer to https://docs.docker.com/config/daemon/ for managing the daemon
Error message from the underlying library (obtained using a one-line script in the same CI job): [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: CA cert does not include key usage extension (_ssl.c:1032)'
Please note I do not complain about this particular error, just the fact that I did not had any hint to start with.
It seems this occur in this except block: https://github.com/ansible-community/molecule-plugins/blob/main/src/molecule_plugins/docker/driver.py#L246
Would it possible to report the original message?
- docker server version: 27-dind
- molecule version: 25.11.1
- molecule-plugin version: 25.8.12
- docker library version: 7.1.0
Hello,
I have an error in Gitlab-CI using docker-in-docker as a service. The driver is not able to ping the docker service but prints a generic error message without reporting the error message from the underlying docker library. This does not help solving the problem as there are many ways in which the connection can fail.
Reported error message:
Unable to contact the Docker daemon. Please refer to https://docs.docker.com/config/daemon/ for managing the daemonError message from the underlying library (obtained using a one-line script in the same CI job):
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: CA cert does not include key usage extension (_ssl.c:1032)'Please note I do not complain about this particular error, just the fact that I did not had any hint to start with.
It seems this occur in this except block: https://github.com/ansible-community/molecule-plugins/blob/main/src/molecule_plugins/docker/driver.py#L246
Would it possible to report the original message?