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

Podman support #1992

Open
sultetveny opened this issue Oct 11, 2024 · 0 comments
Open

Podman support #1992

sultetveny opened this issue Oct 11, 2024 · 0 comments

Comments

@sultetveny
Copy link

sultetveny commented Oct 11, 2024

What steps did you take and what happened:

sonobuoy images list

INFO[0000] e2e image to be used: registry.k8s.io/conformance:v1.27.16 
INFO[0000] Pulling image: registry.k8s.io/conformance:v1.27.16 ... 
ERRO[0001] failed with following error after 1 retries: 
ERRO[0001] unable to collect images of plugins: failed to gather test images from e2e image: exec: "docker": executable file not found in $PATH 

It tries to find docker binary unsuccessfully, but we use podman instead.

What did you expect to happen:

sonobuoy images list

INFO[0000] e2e image to be used: registry.k8s.io/conformance:v1.27.16 
INFO[0000] Pulling image: registry.k8s.io/conformance:v1.27.16 ... 
gcr.io/authenticated-image-pulling/alpine:3.7
gcr.io/authenticated-image-pulling/windows-nanoserver:v1
gcr.io/k8s-authenticated-test/agnhost:2.6
...

Anything else you would like to add:

A workaround is to create a symlink from podman to docker.

ln -s /usr/bin/podman /usr/bin/docker

It could be much better if sonobuoy can support this without such configuration. Using additional flag/option for the cli, or detecting automatically which binary is available on the host.

Environment:

  • Sonobuoy version: v0.57.2
  • Kubernetes version: v1.27.16
  • Cloud provider or hardware configuration: OpenStack
  • OS (e.g. from /etc/os-release): Red Hat Enterprise Linux 8.10 (Ootpa)
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

No branches or pull requests

1 participant