Dreded
-
Posts
19 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Report Comments posted by Dreded
-
-
I appreciate the realtime logging, but I also am having an issue where a docker container will not start, and it immediately closes the log. how am I supposed to see why it won't start?
- 1
[6.10.2] Logs pop-ups window in docker close themselves when containers stopped/restarted
in Stable Releases
Posted · Edited by Dreded
ok I figured out what you guys meant above, this is user error... sort of. I had "--restart unless-stopped" in the extra options field.
So as a medium level user of docker, I would like to ask that either a pull down be added to adjust the docker restart option so its more obvious or to disable the autoclose of the log window... a warning at the bottom saying "Due to this container restarting, This log will not update unless it is closed and re-opened" would be fine and more user friendly I would think.
also my fix has been to change the extra parameters to "--restart on-failure:3" that way it will auto-restart but will only try 3x so I can still check the log when its a real failure.(this is for a Authenticator docker so its important to stay up, and it likes to randomely crash once a month or so)