Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

health-check.ps1 logic is faulty, when setup.ps1 is accessing status-check.txt, the container shuts down #2

Open
mdrakiburrahman opened this issue Jun 4, 2021 · 0 comments

Comments

@mdrakiburrahman
Copy link

Because the health-check.ps1 and setup.ps1 are both using status-check.txt for grabbing the output from dmgcmd.exe -cgc command, I noticed when the cycles (120 seconds vs 60 seconds) clash, the Container shuts down because the health check tries to delete the same text file that setup.ps1 might be accessing:
image

Options could have health-check.ps1 use another filename? I disabled the healthcheck in the Dockerfile as a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant