V
V
vovagib2020-08-10 03:20:51
linux
vovagib, 2020-08-10 03:20:51

How can I send a restart signal from one container to another?

Good afternoon. It is necessary to raise a container with CertBot on the host and configure automatic reissue of certificates for other containers. I'm going to use a common volume for this, where certbot will generate certificates, and other containers will take them. But after the container picks up the certificate, I need to restart it. Can this be done from a container with certbot without using docker socket? What are the options for solving this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
chupasaurus, 2020-08-10
@chupasaurus

No need to take the certificates issued by certbot anywhere. To restart, it is enough to register the certificate verification in the entrypoint.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question