当前位置:   article > 正文

Docker buildx: failed to solve: rpc error: code = Unknown desc = network.host is not allowed_failed to authenticate to switch server: rpc error

failed to authenticate to switch server: rpc error: code = unknown desc = tu

network=host 被认为是不安全的,您需要在创建构建器时传递 --buildkitd-flags '--allow-insecure-entitlement network.host',示例如下:

docker buildx create --name ingress-nginx --buildkitd-flags '--allow-insecure-entitlement network.host'

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/一键难忘520/article/detail/913095
推荐阅读
相关标签
  

闽ICP备14008679号