Skip to content

Instantly share code, notes, and snippets.

@yohangdev
Created May 8, 2019 02:07
Show Gist options
  • Save yohangdev/3bc01080ac934e27262dae348108dbdd to your computer and use it in GitHub Desktop.
Save yohangdev/3bc01080ac934e27262dae348108dbdd to your computer and use it in GitHub Desktop.
Setup and connect Gitlab CI Runner in my server
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