I rebuilt the Dockerfile, and the new Docker can run independently and periodically execute the gitlab-ldap-sync task. In addition, I added a try...catch... block to line 1657 of LdapSyncCommand.php, so that even if there is an error, the program will continue to synchronize the remaining users.
I rebuilt the Dockerfile, and the new Docker can run independently and periodically execute the gitlab-ldap-sync task. In addition, I added a try...catch... block to line 1657 of LdapSyncCommand.php, so that even if there is an error, the program will continue to synchronize the remaining users.