From 0f348235f2e3abbf2fda5598e1b427fd92caaf47 Mon Sep 17 00:00:00 2001 From: Lucky <14868134+L-U-C-K-Y@users.noreply.github.com> Date: Fri, 11 Dec 2020 11:37:07 +0100 Subject: [PATCH 1/2] docs(README): added note to specify a docker version --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index cf62ba6..aacb82c 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,22 @@ services: - "./hetzner_config:/etc/gitlab-runner" ``` +### Docker Errors + +If you face docker problems at runtime (such as the one below), you can specify a Docker version in the `MachineOptions`. + +```toml + MachineOptions = [ + "engine-install-url=https://releases.rancher.com/install-docker/19.03.9.sh", + ] +``` + +Possible error that is caused by Docker: + +```bash +ERROR: Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded driver=hetzner name=runner-xxx-xxx operation=create +``` + ## Versions Currently this image is build using the `gitlab/gitlab-runner:latest` image and the latest docker-machine hetzner plugin. If you need builds for another version feel free to open an PR. From cd4932caa4940bba3bcb50c4bdf9ffdda9b61813 Mon Sep 17 00:00:00 2001 From: mawalu Date: Sat, 12 Dec 2020 17:32:31 +0100 Subject: [PATCH 2/2] Link to upstream issue about docker-machine problems --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index aacb82c..3f9c961 100644 --- a/README.md +++ b/README.md @@ -73,6 +73,8 @@ Possible error that is caused by Docker: ERROR: Error creating machine: Error running provisioning: Unable to verify the Docker daemon is listening: Maximum number of retries (10) exceeded driver=hetzner name=runner-xxx-xxx operation=create ``` +See [this issue](https://github.com/docker/machine/issues/4858) for more information. + ## Versions Currently this image is build using the `gitlab/gitlab-runner:latest` image and the latest docker-machine hetzner plugin. If you need builds for another version feel free to open an PR.