Closed Zomis closed 6 years ago
Can you give more details about your flow?
The container is meant to run only Caddy and if you terminate Caddy, the container should exit.
To reload you can send USR1
signal to the container with docker.
See this demonstration.
That probably explains it. I didn't run docker kill -s USR1
, I ran kill -s USR1 <pid>
inside the container.
Can you add this information to the README?
If I kill the caddy process, the Docker container exits.
If I try to start
caddy
, it complains that the port is already in use.I also tried
kill -s USR1 <pid>
but that also had no effect.These issues made me stop trying your Docker image and trying another Caddy Docker image instead.