Docker automatically terminates after a minute within the container /opt/seafile/seafile-server-latest/seafile.sh stop

There is a workaround though:

Edit the script /scripts/start.py

and find the part with

    time.sleep(5)

and replace it with (1 week duration):

    time.sleep(604800)

restart the seafile server and than you are able to stop…

But its a workaround and there should be a true solution