acme.sh
acme.sh copied to clipboard
Ability to restart docker container
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!
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.
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?
The wiki shows how to deploy to containers but it’s also possible to restart containers without giving access to the Docker socket.