slim: [Macbook Pro] docker-slim build error - /opt/dockerslim/bin/docker-slim-sensor: no such file or directory
Team,
When I am trying to execute build command getting below error
time="2023-01-23T14:15:50+05:30" level=fatal msg="docker-slim: failure" error="API error (400): failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: \"/opt/dockerslim/bin/docker-slim-sensor\": stat /opt/dockerslim/bin/docker-slim-sensor: no such file or directory
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 24 (8 by maintainers)
I’m having the same exact issue on my M1 MacBook pro, Monterey. I installed slim via brew.
slim version darwin|Transformer|1.40.0|latest|latestI’ll close this issue in a few days unless we have new failure reports. Thanks everyone for your reports! Thanks to you slim is better.
Confirmation of fix
The
1.40.3release includes the fix for thebrewinstalled slim on the amd and M1 macs. Manually verified it on my own macs. Please let me know if you still have any problems there.Turns out the main problem was caused by the symlink homebrew creates to the standard bin location. That caused a failure creating the sensor volume. This problem has been fixed in master. Hopefully once the next release is out and the homebrew formula is updated (to pick up the latest release) this will go away.