Questions tagged [docker-in-docker]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
41 views

Gitlab CI error during connect: Get http://docker:2375/v1.40/containers/json?all=1: dial tcp: lookup docker on xx.xx.xx.x:xx: no such host

I've recently created a new repository in gitlab.com, started a new Ubuntu instance in digitalocean, installed docker and gitlab-runner in the ubuntu instance. Also, did gitlab-runner register and ...
1
vote
2answers
31 views

docker build throws UnknownHostException with jenkins dind slave + kubernetes plugin

So Jenkins is installed inside the cluster with this official helm chart. And this is my installed plugins as per helm release values: installPlugins: - kubernetes:1.18.1 - workflow-job:2.33 ...
0
votes
0answers
72 views

Gitlab + Kubernetes on GCE + DIND - how to get access to docker subsystem in the cluster?

Preliminaries I am using Gitlab Community Edition 12.0.3, in which I have standard project admin permissions but no more. The installation only has few and slow CI runners, so I went and created a ...
4
votes
1answer
85 views

Multi platform test on Travis-CI using Docker

I am trying to write my .travis.yml to perform multi platform test on Travis-CI using Docker. The platforms I want to test on: Ubuntu 14.04 Ubuntu 16.04 Debian 8 Debian 9 The whole concept in a ...
2
votes
0answers
220 views

Stuck! using docker cloud from jenkins running on local osx docker

Hopefully someone can help, I've found lots of information online but as I'm brand new to both jenkins and docker, I'm having a hard time sorting out which suggested solutions happen on the what ...
5
votes
1answer
477 views

docker-compose fails to recognize when images are rebuilt sometimes … often same code is OK

I have a devops container inside of which I execute docker build and docker-compose up commands which run OK then (on same server or different server with same code) sometimes incorrectly fail to ...
21
votes
1answer
2k views

Why is Docker-in-Docker considered bad?

In August 2013 Jérôme Petazzoni created Docker in Docker, dind for short, this allowed Docker containers to be created inside of Docker Containers, this functionality proved very popular resulting in ...
13
votes
2answers
7k views

Docker In Kubernetes Deployment

I am using a third party library that creates sibling docker containers via: docker run -d /var/run/docker.sock:/var/run/docker.sock ... I am trying to create a Kubernetes deployment out of the ...
5
votes
2answers
956 views

Multiple runners for all projects OR single runner per project

What do we have: We have a Gitlab EE with multiple projects running on a droplet, next to that we have a runner server for the CI runners. All projects are Docker projects and 4 runners can be busy at ...
7
votes
1answer
2k views

What are alternatives for Docker in Docker (dind) usage for Jenkins slave running in container?

When using Jenkins slave running in container, what are alternatives or "safe" (in terms of security) implementations for Docker in Docker. Architecture example: Jenkins master running as Docker ...