You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is undesired because we might accidentally disclose credentials of the proxy.
set process level environment variable
Drive a new service class from System.ServiceProcess.ServiceBase in C#, and then inject the proxy values into c# source code, and then compile and execute that wrapped containerd as the windows service.
But this workaround is cumbersome.
Describe the solution you'd like
Can we provides a way to config proxy for containerd service.
containerd.exe --register-service -proxy ...
Additional context
No response
The text was updated successfully, but these errors were encountered:
Setting the environment variable from containerd itself may break if containerd's dependencies make HTTP calls in Go's init(). So the wrapper approach is technically safer.
That being said, I can agree having the flag is convenient.
We tried to use [Environment]::SetEnvironmentVariable("HTTP_PROXY", "...", [System.EnvironmentVariableTarget]::Machine) + HTTPS and restart containerd srevices to use our proxy but containerd always try a direct connection. (v1.6.18-1-gdbc99e5b1)
We use a software Proxy client (proxifier) on Windows, but containerd still takes the ByPass route. There is no way to set a Proxy in Windows like Linux sets http-proxy.conf. This bothers us very much.
[07.25 13:01:56] containerd.exe (3512, System) - registry-1.docker.io(44.205.64.79):443 system connection bypassed
What is the problem you're trying to solve
When trying to set up proxy for containerd service in windows, there's multiple options so far
This is undesired because we might accidentally disclose credentials of the proxy.
Drive a new service class from
System.ServiceProcess.ServiceBase
in C#, and then inject the proxy values into c# source code, and then compile and execute that wrapped containerd as the windows service.But this workaround is cumbersome.
Describe the solution you'd like
Can we provides a way to config proxy for containerd service.
containerd.exe --register-service -proxy ...
Additional context
No response
The text was updated successfully, but these errors were encountered: