Accessing remotely (Docker)

In the script /var/openziti/scripts/run-router.sh there is a bit of code several lines down:

# Wait until the file exists, then give one more second for the file to be completely written
until [ -f "${ZITI_HOME}/ziti.env" ]
do
     sleep 1
done

Seems to be an infinite wait. I wonder if the container I pulled is different from the one you did testing on.

Creating a bare minimum environment allowed my router to start, create certs, and enroll. Thanks again!

@jagauthier thank you for finding this. This should have not been an infinite loop in the case of a failure to satisfy the condition. I am looking into this and filed an issue.

1 Like