Re: Deprecation of Docker Runtime in Kubernetes - No access to local docker socket #docker #hyperledger-fabric #fabric
Hi Chintan,
It's still possible to use internal builders with containerd runtime in Kubernetes. This is achievable via dind (Docker-in-Docker). Actually our Helm charts are supporting this since a while. See this commit: It's only a simple setting: --set peer.docker.dind.enabled=true Tested again on Azure AKS, Kubernetes version: v1.19.6 We are attaching a sidecar Docker container to peer pod, but this is not necessary. Docker container can reside in a separate pod and can be shared by multiple peers. Actually Docker daemon can even run outside of Kubernetes, as long as peer can access it through TCP. A small correction btw, using host's docker.sock is not dind. Dind is running a Docker daemon inside a Docker container. Cheers, Hakan On Tue, Jan 19, 2021 at 2:15 PM <chintanr97@...> wrote: Correct! With HLF v2.x external builders and chaincode as an external service, we can easily migrate to remove the dependency on usage of docker socket. That is definitely one of the ways! |
|