Closed tess-lu closed 1 year ago
--restart is not necessary, the user should intervene when an error occurs, not a futile automatic restart
From the UX perspective, specifying a restart policy is better than none. The container could be down for various reasons, including a server restart or a docker service restart, etc. In such scenarios the restart policy could save the user some effort.
update docker deployment guide:
TZ
in the docker command to print the correct time in logs--restart always
to automatically restart container upon exitreplace URLs to old docs with URLs to new docs