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: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/3966974312_circleci_config.yml. #1036

Closed
miguelmota opened this issue Jan 13, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@miguelmota
Copy link

miguelmota commented Jan 13, 2024

Meta:

circleci local execute fails with docker volume bind error. Seems like it can't map the generated temp file correctly.

CircleCI CLI Version:

$ circleci version
0.1.29936+c2d98ee (release)

Operating System:

$ uname -a
Linux archlinux 6.6.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Mon, 04 Dec 2023 00:29:19 +0000 x86_64 GNU/Linux

CircleCI CLI Diagnostic:

$ circleci diagnostic

---
CircleCI CLI Diagnostics
---
Debugger mode: false
Config found: /home/linux/.circleci/cli.yml
API host: https://circleci.com
API endpoint: graphql-unstable

Current behavior:

/tmp/hello.yml

version: 2.1

jobs:
  hello-job:
    docker:
      - image: cimg/node:17.2.0 # the primary container, where your job's commands are run
    steps:
      - checkout # check out the code in the project directory
      - run: echo "hello world" # run the `echo` command

workflows:
  my-workflow:
    jobs:
      - hello-job
$ circleci local execute hello-job --config /tmp/hello.yml
Fetching latest build environment...
Docker image digest: sha256:798518d02e27bacdc567990980517f81884097eab33635b1450571bc1a7feed9
docker: Error response from daemon: invalid mount config for type "bind": bind source path does not exist: /tmp/3966974312_circleci_config.yml.
See 'docker run --help'.

Expected behavior:

Run image

When did this begin / Was this previously working?:

Additional Information:

@miguelmota miguelmota added the bug Something isn't working label Jan 13, 2024
@miguelmota
Copy link
Author

It's working now after wiping config with rm -rf ~/.circleci and reinstalling the cli.

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