The launcher help text indicates that cleanup command removes containers that have stopped for > 24 hours:
https://github.com/discourse/discourse_docker/blob/026a664e77844c7b0d67a5609f08e67f1e436d5f/launcher#L15-L15
But the issued commands filter with 1 hour , and prune containers and images :
https://github.com/discourse/discourse_docker/blob/026a664e77844c7b0d67a5609f08e67f1e436d5f/launcher#L238-L239
Should the help text on line 15 be updated to describe the actual action? Or 1h → 1d perhaps.
sam
(Sam Saffron)
2021 年2 月 3 日 01:02
2
Sure, make a PR for that.
3 个赞
Wouldn’t it be safer if we actually changed the code so that it removes containers stopped for > 24 hours, as indicated by the text? An hour seems pretty aggressive.
3 个赞
sam
(Sam Saffron)
2021 年2 月 8 日 01:04
4
Fine with that as well! I will just go ahead and push it.
https://github.com/discourse/discourse_docker/pull/524
3 个赞
sam
(Sam Saffron)
关闭
2021 年2 月 8 日 21:00
5
This topic was automatically closed after 19 hours. New replies are no longer allowed.