gitlab/dind is image that should be used to build projects with docker-based workflow.
The image runs
Docker Engine and includes
Docker Compose which allows to use full
docker toolkit from build script.
Since this image gives errors when using with the official docker:dind as a service and the official docker:latest image does not contain docker-compose I made my own image which has only the docker client binary and the docker-compose binary. It seems to work fine while using the offical docker:dind as service. It is available here: https://hub.docker.com/r/jonaskello/docker-and-compose/
PLEASE ! Use VERSION in TAGS !
Hi, I got an error:
Error response from daemon: client is newer than server (client API version: 1.22, server API version: 1.21)
I cannot really update the server side, would it be possible to provide a version compatible with the client 1.21?
@yachtsman You can map the /sys folder into the container, like
-v /sys:/sys. That solved the problem for me.
It's just doesn't work
ln: failed to create symbolic link '/sys/fs/cgroup/systemd/name=systemd': Operation not permitted
I'm running gitlab-runner in a container on Ubuntu 14.04 and Docker 1.8.2