Skip to content

Unable to run smoke test inside runner

I've a test-job where I am starting a fresh image to test it's general health.

To do this I am running a fresh docker container and trying to curl it (I am using smoke.sh) However, it does work locally, but not in my build.

Example repository on gitlab

https://gitlab.com/webdeb/test-to-run-docker-inside-gitlab-ci-runner

try to run it locally on your machine, it should work

$ docker build -t test-server .
$ .smoke/test.sh

~bug ci-build

Edited by Boris Kotov