Created
May 8, 2019 02:07
-
-
Save yohangdev/3bc01080ac934e27262dae348108dbdd to your computer and use it in GitHub Desktop.
Setup and connect Gitlab CI Runner in my server
This file contains hidden or 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 --rm -t -i -v $(pwd):/etc/gitlab-runner gitlab/gitlab-runner register | |
docker run -d --name jdsteam-gitlab-runner-01 --restart always \ | |
-v $(pwd):/etc/gitlab-runner \ | |
-v /var/run/docker.sock:/var/run/docker.sock \ | |
gitlab/gitlab-runner:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment