Neso
1
Hi, can anybody maybe tell me how to setup docker to restart collabora with command, example every 24 hours:
Example
docker run -t -d -p 127.0.0.1:9980:9980 -e ‘domain=cloud\.nextcloud\.com’ --restart always --cap-add MKNOD collabora/code
What, where to add command ?
dev0
2
in that case you could use cron to do that.
* */24 * * * docker stop CONTENER_ID && docker start CONTENER_ID
dev0
5
to get to that file you need to issue: crontab -u <username who should issue the command> -e