From 193b357a0cee588bcc5359a22d554a1ae512a0af Mon Sep 17 00:00:00 2001 From: Alan Norbauer Date: Fri, 8 Apr 2022 21:03:54 -0700 Subject: [PATCH] Add `zerotier-cli info` output to Docker logs When I first bring up the container, I want to know I'm approving the join request for the right node. I can get the node's ZT address by manually executing `zerotier-cli info` in the node (e.g. with `docker-compose exec zerotier zerotier-cli info`) but just having it in the logs to start with is very convenient. --- entrypoint.sh.release | 2 ++ 1 file changed, 2 insertions(+) diff --git a/entrypoint.sh.release b/entrypoint.sh.release index 0194d3658..d8222305b 100644 --- a/entrypoint.sh.release +++ b/entrypoint.sh.release @@ -77,6 +77,8 @@ EOF chmod +x /healthcheck.sh +echo "zerotier-cli info: $(zerotier-cli info)" + echo "Sleeping infinitely" while true do