Search code examples
loggingdocker-composetimeout

docker-compose down timeout


Can I stop containers after some timeout (in github workflow actions)? I need to be sure that I can see logs of running containers and be surethat containers should stop after some time (for example after 5 min)


Solution

  • thanks for answers. I found solution in ' docker-compose up & sleep 300 && docker-compose down'