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

circleci local execute does not work with Docker for Desktop on OSX #1058

Open
pisymbol opened this issue May 6, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@pisymbol
Copy link

pisymbol commented May 6, 2024

Meta:

CircleCI CLI Version:

0.1.30549+735ecd3 (homebrew)

Operating System:

Darwin ip-192-168-1-122.ec2.internal 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:49 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6020 arm64

CircleCI CLI Diagnostic:

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /Users/alex/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable
OK, got a token.
Trying an introspection query on API...
Ok.
Hello, Alexander Sack.

Current behavior:

# circleci local execute <job>
Fetching latest build environment...
Docker image digest: sha256:008ba7f4223f1e26c11df9575283491b620074fa96da6961e0dcde47fb757014
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /var/folders/13/2vqhq9lj53gbg2cg6m0m6kqr0000gn/T/4250947489_circleci_config.yml.

Expected behavior:

Job should run locally. My guess is this had to do with the -v vs. --mount behavior but I haven't looked at source yet.

When did this begin / Was this previously working?:

Never seen it work yet.

@pisymbol pisymbol added the bug Something isn't working label May 6, 2024
@pisymbol
Copy link
Author

pisymbol commented May 6, 2024

Ok, it seems though you have to use VirtioFS for file sharing implementations under General else bind mounts won't work. Hope this helps someone who encounters this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant