Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cybertk/gitlab-dind-runner
GitLab runner with docker support
https://github.com/cybertk/gitlab-dind-runner
Last synced: 4 days ago
JSON representation
GitLab runner with docker support
- Host: GitHub
- URL: https://github.com/cybertk/gitlab-dind-runner
- Owner: cybertk
- License: mit
- Created: 2015-10-16T06:23:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-05T09:22:10.000Z (over 6 years ago)
- Last Synced: 2024-11-14T12:54:07.023Z (2 months ago)
- Size: 1.95 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitlab-dind-runner
> GitLab runner with docker support
Deploy a central docker-host with [docker:dind]()
```
docker run --privileged --name docker-host -d --restart always docker:18.05.0-dind
```Verify dind deployment with
```
docker run --rm --link docker-host:docker docker:18.05.0 version
```Start a GitLab Runner
```
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock gitlab/gitlab-runner:latest
```Configure the new created Runner with
```
docker exec -it gitlab-runner gitlab-runner register
```Add the following contents into `/etc/gitlab-runner/config.toml`
## References
- [Using Docker Images in GitLab](http://doc.gitlab.com/ci/docker/using_docker_images.html#how-to-use-other-images-as-services)