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 container
- Jenkins slave running as Docker container
- Test task executed in Docker container
Some known alternatives:
- DOOD (Docker-Outside-Of-Docker)
- Jenkins Plugin using Docker API
Constraints clarification: the idea is to use Jenkins as an orchestrator and Docker for clean environment, the rest of architecture is a subject to change.
Docker-in-docker
- for everyone else that is new to the topic then it would be worth reading Jérôme Petazzoni's description of advantages and disadvantages of.