【问题标题】:Docker Alpine image + grpc: Warning: insecure environment read function 'getenv' usedDocker Alpine image + grpc:警告:使用了不安全的环境读取函数“getenv”
【发布时间】:2017-06-22 07:15:27
【问题描述】:

当我使用此图像:node:6.11.0-alpine 运行我的服务(使用 GRPC),然后不断收到这些警告:

D0622 06:52:01.170502843       1 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.554446816      12 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.559295167      14 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.566036292      13 env_linux.c:66]             Warning: insecure environment read function 'getenv' used
D0622 06:52:01.569975088      15 env_linux.c:66]             Warning: insecure environment read function 'getenv' used

我会错过任何包裹吗?如何解决这个问题?

这个问题Issue #8104可以参考。

【问题讨论】:

  • Inshi,你能解决这个问题吗?我也面临类似的问题。
  • @sranga 不,对不起

标签: docker alpine getenv


【解决方案1】:

我相信这已在 grpc-1.23.0 和更新版本中得到修复:https://github.com/grpc/grpc/commit/5efa660b41ab05971901f3a7b19e3890ea1e8884

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-04-03
    • 1970-01-01
    • 1970-01-01
    • 2014-09-29
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多