Hello,
I have set up a couple of docker containers on my DiskStation DS1515+ wiuth DSM 6.2.3-25426 Update 3.
These containers include:
- Reverse proxy nginx
- LetsEncrypt
- Gitea
When my LetsEncrypt container renews the SSL certificates, I need to restart my Gitea container to have it actually use the new certificates.
I couldn't find a way in the docker GUI to schedule this, so I looked to the next-best thing: the Task Scheduler.
It is easy enough to create a task that calls
Is there a way to stop/restart docker containers from the CLI without triggering these events?
Thanks in advance.
I have set up a couple of docker containers on my DiskStation DS1515+ wiuth DSM 6.2.3-25426 Update 3.
These containers include:
- Reverse proxy nginx
- LetsEncrypt
- Gitea
When my LetsEncrypt container renews the SSL certificates, I need to restart my Gitea container to have it actually use the new certificates.
I couldn't find a way in the docker GUI to schedule this, so I looked to the next-best thing: the Task Scheduler.
It is easy enough to create a task that calls
docker restart <gitea container name>
, but this always results in a System Event notificaction saying that the container stopped unexpectedly.Is there a way to stop/restart docker containers from the CLI without triggering these events?
Thanks in advance.