Trivy error on v1.5 #2702
LtCmdrScott
started this conversation in
General
Replies: 1 comment 3 replies
-
Solved the issue! |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting this error in my log when I try to startup Rancher v1.5 on my ARM desktop. We have to run Rancher without admin rights in our environment, so I need to find a way around this issue without enabling admin rights:
2022-08-08T18:51:42.448Z: > limactl copy /Applications/Rancher Desktop.app/Contents/Resources/resources/linux/internal/trivy 0:./trivy
2022-08-08T18:51:42.467Z: > limactl shell --workdir=. 0 sudo mv ./trivy /usr/local/bin/trivy
$ Error: spawn /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl EACCES
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -13,
code: 'EACCES',
syscall: 'spawn /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl',
path: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl',
spawnargs: [
'shell',
'--workdir=.',
'0',
'sudo',
'mv',
'./trivy',
'/usr/local/bin/trivy'
]
}
The above error is most prevalent, but I am also getting this error from time to time:
2022-08-08T18:57:08.365Z: > limactl list --json
$ Error: spawn /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl EACCES
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:19)
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -13,
code: 'EACCES',
syscall: 'spawn /Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl',
path: '/Applications/Rancher Desktop.app/Contents/Resources/resources/darwin/lima/bin/limactl',
spawnargs: [ 'list', '--json'
lima.log
]
Beta Was this translation helpful? Give feedback.
All reactions