Use the docker logs command to view the logs and verify the runner successfully established a connection with the Drone server.
The question is: Does the drone-runner-docker (other drone-runners might be effected as well) has a health-check endpoint because unfortunately I couldn’t find anything in the docs…
It would make a lot of sense, cause I could enhance my docker-compose/stack file with a healthcheck to see if the connection to the server on the runners has been done successfully…
[root... ~]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
a117aa657242 drone/drone-runner-docker:1.6.3 "/bin/drone-runner-d…" 3 days ago Up 3 days 0.0.0.0:4000->3000/tcp drone_drone_runner_1_1
...
[root@titan ~]# docker exec -it a117aa657242 /bin/sh
/ # wget http://127.0.0.1:80/healthz
Connecting to 127.0.0.1:80 (127.0.0.1:80)
wget: can't connect to remote host (127.0.0.1): Connection refused
/ # wget http://127.0.0.1:80/version
wget: can't connect to remote host (127.0.0.1): Connection refused
..
So I have tried to access the endpoint from inside the container which are obviously not available. Neither I have found some kind of endpoint definition within the code…(may be I oversight something) but based on my test I would say it does not exist…
So I will raise an issue on Trello…
Apart from that thanks for your answer…
Kind regards
Karl Heinz Marbaise
So I have gone to Trello but unfortunately I can’t create some kind of entry there… maybe I just miss it… Can someone give me a short hint how to create an entry there… Many thanks in advance.