The Docker entrypoint script had a few issues which could cause the taskd container startup to fail, including a malformed variable assignment and improper linking of PKI directories. These changes correct the PKI variable assignment, replace symlinking the PKI directory with a proper copy (cp -a), and ensure consistent taskd user ownership across the data directory. This makes the container initialization and certificate generation more robust out-of-the-box.

Fixed Docker entrypoint script and permission issues for taskd - zhengqunkoo/docker-taskd