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

Unexpected environment preparation error: Error response from daemon: OCI runtime create failed #4

Closed
chiubaka opened this issue Jul 7, 2022 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@chiubaka
Copy link
Owner

chiubaka commented Jul 7, 2022

Seeing this whenever I attempt to run the local circleci execute commands, which would allow me to test and run parts of my orb locally.

Here's the full error:

Error: 
Unexpected environment preparation error: Error response from daemon: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:385: applying cgroup configuration for process caused: cannot enter cgroupv2 "/sys/fs/cgroup/docker/6976edaa676d3681c80bf9f2e116a2d62bd1655e66477fc8a73cc1e4c7742cc4/7afcf63907680c0cc9b08f62a2745b8dac7aa1c66bc03664fb35b88452a8babe" with domain controllers -- it is in an invalid state: unknown

Looks like there's a few threads about this out there in CircleCI's GitHub repos.

Basically, it sounds like a bug in Docker that appears on macOS in more recent versions of the CircleCI CLI. My options seem to be:

  • Downgrade to Docker Desktop v4.2.0 (not excited about this)
  • Attempt this workaround
@chiubaka chiubaka added the 🐛 bug Something isn't working label Jul 7, 2022
@chiubaka
Copy link
Owner Author

chiubaka commented Jul 7, 2022

The workaround where I downgrade the CircleCI CLI and then add a specific hash to the build settings appears to have worked.

@chiubaka chiubaka closed this as completed Jul 7, 2022
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