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

Ansible deprecation warning for docker_container vs docker networks #22

Open
ryanjsims opened this issue Mar 27, 2022 · 0 comments
Open

Comments

@ryanjsims
Copy link
Contributor

When starting the dev environment (probably other environments too) there is a deprecation warning for Ansible about docker network behavior changing in Ansible 2.12, may or may not actually be a problem but its something that needs research.

image

[DEPRECATION WARNING]: Please note that docker_container handles networks slightly different than docker CLI. 
If you specify networks, the default network will still be attached as the first network. (You can specify 
purge_networks to remove all networks not explicitly listed.) This behavior will change in Ansible 2.12. You 
can change the behavior now by setting the new `networks_cli_compatible` option to `yes`, and remove this 
warning by setting it to `no`. This feature will be removed in version 2.12. Deprecation warnings can be 
disabled by setting deprecation_warnings=False in ansible.cfg.
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