Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

gitlab runner on docker

docker run -d --name gitlab-runner --restart always 
     -v /srv/gitlab-runner/config:/etc/gitlab-runner 
     -v /var/run/docker.sock:/var/run/docker.sock 
     gitlab/gitlab-runner:latest
# Now run config:
docker exec -it gitlab-runner gitlab-runner register --docker-privileged
Source by docs.gitlab.com #
 
PREVIOUS NEXT
Tagged: #gitlab #runner #docker
ADD COMMENT
Topic
Name
9+7 =