acme.sh icon indicating copy to clipboard operation
acme.sh copied to clipboard

Ability to restart docker container

Open oeiber opened this issue 11 months ago • 3 comments

Hi, using deploy hook with nginx and docker works fine. But I have also a self written application, which runs in a node container. The application runs in foreground without service. Is there a way to restart the entire container after refreshing the certificate?

thank you!

oeiber avatar Sep 12 '23 16:09 oeiber

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

github-actions[bot] avatar Sep 12 '23 16:09 github-actions[bot]

found a workaround: installing docker-cli within acme.sh container. a small shellscript executs nginx reload and also restarting my node container. is it possible to ship the acme.sh container with docker-cli preinstalled?

oeiber avatar Sep 12 '23 18:09 oeiber