-
Notifications
You must be signed in to change notification settings - Fork 122
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-docker incompatibilities in common_cli.py
: KeyError: 'ApiVersion'
#891
Comments
common_cli.py
: `KeyError: 'ApiVersion'common_cli.py
: KeyError: 'ApiVersion'
This is not a bug in this collection since we do not support podman-docker. If something works fine with podman-docker you're lucky, but if it does not it's not a bug for this collection. Your playbook doesn't look like it could ever work anyway:
|
I am, only forgot to include this in the reproducer
actually, |
Then that aspect should be fine, but as long as |
I believe it would be valuable if podman could also be supported by this module. |
Skipping the API version check is pretty easy to implement, but as I wrote above, the big problem will be the capabilities based Compose check, which doesn't work since |
SUMMARY
The plugin fails when using
podman-docker
because it expects a specific format output format indocker version --format '{{ json . }}'
which is not supported by `podman-docker:community.docker/plugins/module_utils/common_cli.py
Line 83 in eddeb91
ISSUE TYPE
COMPONENT NAME
community.docker/plugins/module_utils/common_cli.py
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
macOS M1
target OS: fedora 40 with
podman
andpodman-docker
installedSTEPS TO REPRODUCE
EXPECTED RESULTS
This should go through
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: