No internet connectivity inside docker container running inside kubernetes with weave as networking

前端 未结 3 1548
执念已碎
执念已碎 2021-01-13 11:29

I have a kubernetes cluster that is running on AWS EC2 instances and weave as networking(cni). I have disabled the docker networking(ipmask and iptables) as it is managed by

3条回答
  •  情深已故
    2021-01-13 12:10

    You're right - the docker build process runs in a different context, and Weave Net doesn't attach those automatically.

    Even more complicated, Kubernetes will connect via CNI whereas Docker has its own plugin API. I believe it's possible to have both on a machine at the same time, but rather complicated.

    Maybe look at some of the ways to build images without using Docker ?

提交回复
热议问题