cicd 发表于 2019-06-24 12345678910111213sudo docker run -d --name gitlab-runner-elk --restart always \-v /srv/gitlab-runner/config:/etc/gitlab-runner \-v /var/run/docker.sock:/var/run/docker.sock \gitlab/gitlab-runner:latestsudo docker exec -it gitlab-runner-elk gitlab-ci-multi-runner register -n \ --url http://git.intra.weibo.com/ \ --registration-token 2Kpu1BYH1_Jq4QigaTAe \ --executor docker \ --description "docker_elk_runner" \ --docker-image "docker:stable" \ --docker-volumes /var/run/docker.sock:/var/run/docker.sock