mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-18 17:00:17 +00:00
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.
This commit is contained in:
parent
e73d7d9349
commit
193b357a0c
@ -77,6 +77,8 @@ EOF
|
|||||||
|
|
||||||
chmod +x /healthcheck.sh
|
chmod +x /healthcheck.sh
|
||||||
|
|
||||||
|
echo "zerotier-cli info: $(zerotier-cli info)"
|
||||||
|
|
||||||
echo "Sleeping infinitely"
|
echo "Sleeping infinitely"
|
||||||
while true
|
while true
|
||||||
do
|
do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user