gitlab/gitlab-runner:latest is image that can be used to run GitLab Runner in container.
If I run my docker executer privileged and with volume mount to /var/run/docker.sock I'm able to pull images and test but I'm still ain't able to build and push containers to external repository
gitlab/gitlab-runner for v1.6.1 was released and pushed to hub.docker.com. Also we've updated the images build process so the old-stable branches builds should not use the :latest, :alpine and :ubuntu tags any more - https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/merge_requests/333
smiklosovic: I found a way to use private registry with gitlab-runner in docker.
In the docker container you need a /root/.docker/config.json with auth settings for private registry. I used
docker login ... on the host where I run gitlab-runner docker container and then copied ~/.docker/config.json to /root/.docker/config.json in docker container. After that gitlab-runner was able to pull images from my GitLab registry
The code is tagged v1.6.0 a few days ago. Will it be available in this registry?
I'm also getting the same thing as bdito. The 1.5.3 tagged images actually contain 1.4.3.
seems like there went something wrong with the latest tag.
i pulled gitlab/gitlab-runner:alpine with the default tag "latest" and got version 1.4.3
I am trying to find out how to tell gitlab-runner in docker to use different docker registry from the official one. Here (1) it says I can do it by logging to private registry by docker client but in this docker image, client is not installed so docker command is not found.
I do not understand how I can specify private docker registry inside this docker image.
julio: it doesn't need to have, because the gitlab-runner communicates directly with Docker
gitlab's documentation says the alpine image is mostly provided for docker executor but it does not provide the docker client. An example of installing docker client as a statically built binary can be found here: https://github.com/docker-library/docker/blob/8d8a46bbe4c018a262df473d844d548689787d6e/1.10/Dockerfile