Open Ne4to opened 3 years ago
This same for me in Docker for Windows. I added only one additional ENV
CC @sujitnayak @jhkimnew
Having same issue... When I run the docker container in my machine it works fine, but when I try to use it in Azure Container Instance I get the 259 code. Not always though. In my case, I have 15 additional environment variables. In total, the container have 55 env vars.
I've attempted to work around this issue with #79.
Any chance that could potentially get merged as a workaround until a proper solution can be found?
I'm passing 7 environment variables to my container and my container fails to start ~50% of the time in AWS, but works fine locally.
Running a container with many environment variables leads to following error:
Service monitor builds a command for appcmd.exe limited to 30000 symbols. When there are many variables appcmd.exe is executed several times. First run on my environment finishes in about 0.3 second. Each subsequent run takes increased time and eventually exceeds 5 seconds limit (GetExitCodeProcess returns STILL_ACTIVE 259).
Workaround: Set
enableServiceLinks: false
in pod’s spec.It will remove set of variables like: