Created
September 2, 2018 11:58
-
-
Save ipepe/bfa91702d4d53b1f468935a2158f3d00 to your computer and use it in GitHub Desktop.
Gitlab Runner in Docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /opt/docker/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner:latest | |
docker exec -it gitlab-runner /bin/bash | |
gitlab-runner register |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment