gitlab hosted CI and docker-in-docker?

95 views
Skip to first unread message

Steve Neuharth

unread,
Aug 25, 2016, 11:32:53 AM8/25/16
to GitLab
Hello,

I've recently moved to a dedicated gitlab CI hosted instance and it has broken my docker-in-docker configuration thusly...

Starting service docker:dind ...
Waiting for services to be up and running...

*** WARNING: Service runner-1a0d06bb-project-9-concurrent-0-docker probably didn't start properly.

API error (500): Cannot link to a non running container: /runner-1a0d06bb-project-9-concurrent-0-docker AS /runner-1a0d06bb-project-9-concurrent-0-docker-wait-for-service/runner-1a0d06bb-project-9-concurrent-0-docker

2016-08-25T15:08:50.715831074Z mount: mounting none on /sys/kernel/security failed: Permission denied
2016-08-25T15:08:50.715862817Z Could not mount /sys/kernel/security.
2016-08-25T15:08:50.715869142Z AppArmor detection and --privileged mode might break.
2016-08-25T15:08:50.717810756Z mount: mounting none on /tmp failed: Permission denied


I see the instructions on running docker in docker in the gitlab docs but they all seem to require that I have shell access to the box running the CI container.

Am I misunderstanding the docs and/or the githost.io configuration? 

--steve
Reply all
Reply to author
Forward
0 new messages