Skip to content
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

docker-compose.yml tries to mount a volume for the agent without regard to its actual location #11

Open
cailyoung opened this issue Oct 10, 2019 · 0 comments

Comments

@cailyoung
Copy link

System info:
macOS 10.14
Docker Desktop

Steps to reproduce:

  1. Install buildkite-agent on macOS
  2. Click the 'Add to Buildkite' link on this repo
  3. Trigger a build

Expected result:
Build succeeds!

Actual result:

$ docker-compose -f docker-compose.yml -p buildkite579c76232f884d959ce27d837d87596d run --name buildkite579c76232f884d959ce27d837d87596d_app_build_3 --rm app /bin/sh -e -c ./scripts/test.sh
--
  | Error response from daemon: Mounts denied:
  | The path /usr/bin/buildkite-agent
  | is not shared from OS X and is not known to Docker.

The macOS install of the agent is not in the folder /usr/bin/, nor does it seem like the mount is actually required for this demo to work; I removed it from the YAML and the pipeline still runs fine.

Would you like a PR with this change? cailyoung@77bafde

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant