sonobuoy
sonobuoy copied to clipboard
Podman support
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)