see: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html
- 將gitlab-runner用戶添加到docker組
sudo usermod -aG docker gitlab-runner
- 驗證是否生效:
sudo -u gitlab-runner -H docker info
see: https://docs.gitlab.com/ee/ci/docker/using_docker_build.html
sudo usermod -aG docker gitlab-runner
sudo -u gitlab-runner -H docker info