Proper way to stop / restart Tryton (docker)

Hi,

i wonder what would be the right way to shut down my tryton docker deployment? Do i just stop it with docker stop tryton tryton-posgres and then start it again with docker start tryton tryton-posgres?

Yes Tryton is designed to support unexpected shutdown. The only problem that could happen is if it was processing a client request when stopped, in this case the request will not be finished and everything is rollbacked in the database and the request end with an error status.
So it is always better to stop Tryton when there are not working user.

1 Like