-
Notifications
You must be signed in to change notification settings - Fork 48
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
Cannot perform docker run with volume mounts inside step #66
Comments
We also found https://buildkite.com/docs/agent/v3/docker#allowing-builds-to-use-docker these instructions for the Docker provisioned agents; are there similar instructions for the Helm Chart provisioned agents? |
Try these changes, they mount a shared directory between the agent and DinD: |
@tjwallace many thanks for linking this commit. We ended up switching away from the Helm deployed agents to Cloudformation Stack deployed agents, but if I can find time after your PR merges, I'll give the chart another go. |
closing this issue, @noizwaves open a new issue if that doesn't work for you |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes:
Helm 3.2.1
Kubernetes 1.15.11 (AWS EKS)
Which chart:
CHART
: agent-0.3.14APP VERSION
: 3.17.0What happened:
When running a step that includes a Docker run with mounted volumes, the volumes fail to be mounted.
When running the below example, the job output shows this:
What you expected to happen:
I expect there to 3 entries in the
ls
output, but foobar is missing.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know:
We are using a very simple configuration for the chart, setting only
agent.meta
,privateSshKey
andagent.token
.We also tried enabling DinD (via setting
dind.enabled
totrue
), but that did not resolve the issue.The text was updated successfully, but these errors were encountered: