You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cli_context parameter of the community.docker.docker_compose_v2 module doesn't switch the Docker context for a command it executes underneath. Instead, the following error is thrown:
conflicting options: either specify --host or --context, not both
This happens despite the docker_host parameter is not explicitly set.
SUMMARY
The cli_context parameter of the community.docker.docker_compose_v2 module doesn't switch the Docker context for a command it executes underneath. Instead, the following error is thrown:
This happens despite the docker_host parameter is not explicitly set.
ISSUE TYPE
COMPONENT NAME
docker_compose_v2
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
OS: Fedora Linux 39 (Workstation Edition)
Kernel: Linux 6.8.11-200.fc39.x86_64
STEPS TO REPRODUCE
EXPECTED RESULTS
The playbook execution leads to a compose project being set up for a particular Docker context.
ACTUAL RESULTS
Ansible throws an error. The docker_host parameter default value is not ignored when the cli_context is provided.
The text was updated successfully, but these errors were encountered: