-
Notifications
You must be signed in to change notification settings - Fork 237
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
Failed to read config file: read /tmp/local_build_config.yml: is a directory #716
Comments
Same here on ubuntu 22.04 using snap installation. |
I'm also seeing this on an M1 MBP, with Rancher Desktop:
I'm not sure if this is related to the container being linux/amd64 and the host being M1, or if it's a different problem entirely.
|
Same here. Using M1 MBP also. Using colima for container runtime.
|
Also unable to launch local circleci build using Rancher on MacOS with same error. This is a bigger problem now due to recent licensing to Docker Desktop (which prohibit use in corporate environment unless enterprise license is purchased). Any solutions? |
Related colima issue: abiosoft/colima#571 |
I think I at least know what's happening. Installed using snap on Ubuntu 22.04. TLDRDocker sometimes can't mount files from Ubuntu 22.04 WorkaroundDo not install docker and circleci using snap. Use one of the other installation methods. That solved the problem for me. Debugging DetailsFirst, here's the code that references that path. It seems like this is a volume being mounted in the docker container that's running the command. Running with the
From this post:
Going with the theory that something is wrong with that path, I moved the config file to the current directory:
So in that case, it works! Given all this, my theory is that there's some issue with docker mounting volumes from Sure enough, this post says exactly that:
|
Hi @samahatw do you still have this issue ? |
I am M1 mac circleci local execute build Error: failed to start event processor: failed to compute task config: failed to read config file: read /tmp/local_build_config.yml: is a directory circleci version |
Thanks everyone for reporting this issue and contributing in the comments! The underlying problem comes from Lima not accepting We're currently at work on this, and we seem to have found a solution in #967. |
Version 0.1.29560 just released. It contains a fix for this issue. Define
This should fix the issue for colima, Rancher Desktop and other Lima-based container distributions. |
this is not fixed for wsl2, but using |
Meta:
CircleCI CLI Version:
0.1.18678+c3ad28b (homebrew)
Operating System:
macOS Monterey 12.3.1
CircleCI CLI Diagnostic:
Current behavior:
I'm trying to run the simplest example (foo_ci). I got an error when I try to execute locally,
circleci local execute
.Expected behavior:
Run the pipeline locally.
When did this begin / Was this previously working?:
It never worked.
Additional Information:
Macbook Pro M1 (arm64). Using colima to run docker engine.
The text was updated successfully, but these errors were encountered: