Closed JohannesFleischer closed 3 weeks ago
The community.docker.docker_compose module has been removed from today's 4.0.0 release. If you are still using it, please upgrade to community.docker.docker_compose_v2, which no longer uses the End of Life versions Docker Compose 1.x.y, but Docker's Compose plugin (version 2.x.y range).
SUMMARY
When starting a container with
docker-compose
it would be handy to have the option to output thedocker-compose logs
generated. That is for example useful for services, that generate and log information needed to continue (like hashicorp boundary)If the logs could be directly written into a variable, that would be pretty handy, but I guess the easiest way is to just write the logs to the output so that can be registered and searched afterward.
ISSUE TYPE
COMPONENT NAME
This feature also does already exist for docker_container, so the same name could be taken for this option:
output_logs: true|false
ADDITIONAL INFORMATION