-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /certs/client and docker.sock to volumes for docker in docker #396
Conversation
Verification still missing |
Thanks, will check asap |
Manual verification for combinations of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kayman-mk thanks LGTM, need to test
## [4.36.0](4.35.0...4.36.0) (2021-12-09) ### Features * Add /certs/client and docker.sock to volumes for docker in docker ([#396](#396)) ([3f79054](3f79054)) * Add variable for Docker registry mirror ([#400](#400)) ([e36c971](e36c971)) * Make check interval configurable for the runner ([#402](#402)) ([ed9989c](ed9989c)) ### Bug Fixes * Remove runner agents if provider assumed a role ([#401](#401)) ([9767603](9767603))
🎉 This PR is included in version 4.36.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Description
For a docker in docker setup the
/var/run/docker.sock
and client certificates have to be mounted. This is now done by default. In addition/builds
is also mounted to have all files from the pipeline/repository available inside the docker in docker.This is a backport from mbluemer@e3a2be3 mentioned in #393
This is a backport from DNXLabs@7bf1079 mentioned in #393
Closes #393
Migrations required
Yes, if
/var/run/docker.sock
and/or/certs/client
and/or/builds
were added torunners_additional_volumes
. Remove them from the variable and setrunners_add_dind_volumes = true
Verification
Deployed this module into our development system and ran some jobs on it. Worked fine.
Verified the
config.toml
and checked thevolume
entry.Documentation
We use pre-commit to update the Terraform inputs and outputs in the documentation via terraform-docs. Ensure you have installed those components.