docker-gitlab-ci-runner icon indicating copy to clipboard operation
docker-gitlab-ci-runner copied to clipboard

what user should i use???

Open Haitianisgood opened this issue 10 years ago • 3 comments

ubuntu 14 what user should i user execute this command? mkdir -p /opt/gitlab-ci-runner docker run --name gitlab-ci-runner -it --rm
-v /opt/gitlab-ci-runner:/home/gitlab_ci_runner/data
sameersbn/gitlab-ci-runner:5.2.1 app:setup

Haitianisgood avatar May 15 '15 03:05 Haitianisgood

@Haitianisgood What error do you see. Maybe you need to use sudo, for docker you can also add your user to the docker group usermod -a -G docker <username> and you will be able to talk to docker without sudo

sameersbn avatar May 15 '15 04:05 sameersbn

@Haitianisgood BTW, GitLab has deprecated gitlab-ci-runner. You should rather use gitlab-ci-multi-runner. It can be run directly on the host or inside a container. All the information is available on the website.

I have build a docker image for gitlab-ci-multi-runner for my use as well and is available on github / docker index, which you can use if you wish to. While the project has no readme as of now, but it works the same as this image.

sameersbn avatar May 15 '15 04:05 sameersbn

would be very nice if you put a piece of advice about deprecation on readme of this repo. this image is much higher rated than other image you have and it does not show up easily.

mohamnag avatar Jun 23 '15 20:06 mohamnag