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)
Asked
Active
Viewed 632 times
0
-
How are the containers started, are they detached ? – Mickael B. May 06 '20 at 01:46
-
@user216 Does this topic answer to yours? https://stackoverflow.com/questions/30209776/docker-container-will-automatically-stop-after-docker-run-d – toshiro92 May 06 '20 at 18:49
1 Answers
0
thanks for answers. I found solution in ' docker-compose up & sleep 300 && docker-compose down'

user216
- 156
- 6