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
I would like not to ssh to my server with docker ps -a and after docker logs container_name each time when error occures in any container. And see them immidiately in ansible output. Is it possible?
The text was updated successfully, but these errors were encountered:
I'm not sure what exactly you need. A module which allows you to run docker logs <containername> for one / all containers for a service and/or project?
I'm not sure what exactly you need. A module which allows you to run docker logs <containername> for one / all containers for a service and/or project?
For example I would like to have an option of you collection to choose one of this parameters of showing logs:
Logs of first failled container with problems (by default)
So which command do you run without Ansible to achieve this? The docker_compose_v2 module allows you to run commands like docker compose up, docker compose down, etc.
So which command do you run without Ansible to achieve this? The docker_compose_v2 module allows you to run commands like docker compose up, docker compose down, etc.
hmm, maybe docker compose logs, could be ok. But output is too big
I would like not to ssh to my server with
docker ps -a
and afterdocker logs container_name
each time when error occures in any container. And see them immidiately in ansible output. Is it possible?The text was updated successfully, but these errors were encountered: