Skip to content

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

Open
@pisymbol

Description

@pisymbol

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions