add support for DOCKER_PRVILEGED flag on register#19
Conversation
|
should we be checking if |
|
Yes it makes sense. My bash skills are pretty poor but I'll have a bash at it nonetheless. |
|
I'm not sure exactly what you mean @Firef0x. Can you elaborate? I'm have been following the 'use docker-in-docker executor` instructions here: http://docs.gitlab.com/ce/ci/docker/using_docker_build.html to get it working. |
|
As a quick update I'm still trying to work my way through the best approach. The container registry announcement probably throws in some more things to consider. I'm now wondering if privileged / DIND is required at all for my needs. See here: https://gitlab.com/gitlab-org/gitlab-ce/issues/17769 @Firef0x I think I have a better understanding of what you meant now, would I be right in thinking I could also bind-mount the docker socket in the same was you suggested for I guess I'm just confused why the |
|
@djskinner Sorry that I used a different way here to run Docker in the Runner. (replace the base image with |
|
In case someone is interested I did this https://github.com/oomathias/docker-gitlab-ci-multi-runner/tree/1.5.3 It's based on alpine, I do not use dind but You can try the build with Please do not use that in prod, I'm not sure to maintain it. So for now you should do your own image. Also, image is only 70Mb :) |
|
Closing in favour of #29 |
To allow CI runners that using docker in docker mode: http://docs.gitlab.com/ce/ci/docker/using_docker_build.html