abiosoft / abiosoft/colima

Circleci local execute failing to run

Open
#571 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
30.8k
Forks
613
PR merge metrics
No merged PRs in 30d

Description

### Description

When running `circleci local execute`
CircleCI cli fails to run locally, instead the following output is returned:
```
Fetching latest build environment...
Docker image digest: sha256:9f451a3b661b35391c7493d9f91544024d188dc69457e583aa19be5b7de80a79
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
```

I tried using this recommendation here https://github.com/CircleCI-Public/circleci-cli/issues/212#issuecomment-1080120857 but changed the volume `--volume /var/run/docker.sock:/var/run/docker.sock:ro` to
`/Users/craig/.colima/default/docker.sock:/var/run/docker.sock:ro` so that docker within the container would be able to access the service but that does not seem to work for even the `hello-world` simple docker container.

I have also updated to the latest version of colima and CircleCI cli and still no luck

Sorry if I am missing something blindingly obvious, but any suggestions would be deeply appreciated.

### Version

Colima Version:0.5.2
Lima Version:0.14.2
Qemu Version:7.2.0

### Operating System

- [X] macOS Intel <= 12 (Monterrey)
- [ ] macOS Intel >= 13 (Ventura)
- [ ] macOS M1 <= 12 (Monterrey)
- [ ] macOS M1 >= 13 (Ventura)
- [ ] Linux

### Output of `colima status`

INFO[0000] colima is running using QEMU
INFO[0000] arch: x86_64
INFO[0000] runtime: docker
INFO[0000] mountType: sshfs
INFO[0000] socket: unix:///Users/craig/.colima/default/docker.sock

### Reproduction Steps

1. Latest version of colima installed,
2. Run `cirlceci local execute`

### Expected behaviour

CircleCI executes local jobs

### Additional context

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.