Skip to content

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

@mdrakiburrahman

Description

@mdrakiburrahman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions