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

chore: disable ryuk #290

Merged
merged 1 commit into from
Nov 16, 2024
Merged

chore: disable ryuk #290

merged 1 commit into from
Nov 16, 2024

Conversation

nikpivkin
Copy link
Contributor

I recently migrated to the colima container runtime and ran into the problem of running a test for a bundle:

2024/11/13 13:42:57 🚧 Waiting for container id 903598b9eaf7 image: testcontainers/ryuk:0.7.0. Waiting for: &{Port:8080/tcp timeout:<nil> PollInterval:100ms}
2024/11/13 13:42:57 failed accessing container logs: Error response from daemon: No such container: 903598b9eaf774df6452fe0c3d277731915c9a6d41730c3a83fa73e5bd4c99fd
panic: unexpected container status "removing": could not start container: creating reaper failed: failed to create container

goroutine 1 [running]:
main.createRegistryContainer({0x1055697c0, 0x1058aff20})
        /Users/nikita/projects/trivy-policies/scripts/verify-bundle.go:32 +0x1d8
main.LoadAndVerifyBundle()
        /Users/nikita/projects/trivy-policies/scripts/verify-bundle.go:118 +0x64
main.main()
        /Users/nikita/projects/trivy-policies/scripts/verify-bundle.go:157 +0x1c
exit status 2
make: *** [verify-bundle] Error 1

Since we manually manage the lifecycle of containers, we can disable Ryuk.

Signed-off-by: Nikita Pivkin <nikita.pivkin@smartforce.io>
@simar7 simar7 added this pull request to the merge queue Nov 16, 2024
Merged via the queue into aquasecurity:main with commit ffe5da6 Nov 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants