docker_container: fix interaction of detach:no with auto_remove:yes (#47396)

* Behave better if auto_remove and output_logs are combined. Warn if output cannot be retrieved because of auto_remove.

* Add tests.

* Added changelog.
This commit is contained in:
Felix Fontein
2018-10-23 08:51:24 +02:00
committed by John R Barker
parent 29b4b36501
commit 3afdb28209
3 changed files with 68 additions and 11 deletions

View File

@@ -0,0 +1,2 @@
bugfixes:
- "docker_container - fix behavior of ``detach: yes`` if ``auto_remove: yes`` is specified."