Public | Automated Build

Last pushed: 4 days ago
Short Description
Short description is empty for this repo.
Full Description

gitlab/gitlab-runner:latest is image that can be used to run GitLab Runner in container.

Docker Pull Command
Owner
gitlab
Source Repository

Comments (10)
geostant
a day ago

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

cyprien
4 months ago

You should probably update docker-machine, i have issues with centos based images (openstack): https://github.com/docker/machine/issues/3741

tmaczukin
5 months ago

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

martinsp
5 months ago

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

remohammadi
5 months ago

The code is tagged v1.6.0 a few days ago. Will it be available in this registry?

kinghuang
5 months ago

I'm also getting the same thing as bdito. The 1.5.3 tagged images actually contain 1.4.3.

bdito
5 months ago

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

smiklosovic
8 months ago

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.

(1) https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/blob/master/docs/configuration/advanced-configuration.md#using-a-private-docker-registry

ayufan
a year ago

julio: it doesn't need to have, because the gitlab-runner communicates directly with Docker

julio
a year ago

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