How to fix that CAPD fails to interact with error "Cannot connect to the Docker daemon" #8049
-
When I tried to create a workload-cluster according to Quick Start page, I am stuck to create workload cluster with error message
But docker is running in my localhost(MAC). How to fix this problem? POD logs
EnvironmentPCApple MAC (m2 chipset) DockerRunning Status: localhost $ docker --version
Docker version 20.10.16, build aa7e414 localhost $ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b72bc2e53cce kindest/node:v1.25.3 "/usr/local/bin/entr…" 2 days ago Up 11 hours 127.0.0.1:54057->6443/tcp kind-control-plane Socker Permission:
clusterctl
CAPDVersion: localhost $ kubectl -n capd-system get deployment -o yaml | grep image
image: gcr.io/k8s-staging-cluster-api/capd-manager:v1.3.3 POD Security: localhost $ kubectl -n capd-system get pod capd-controller-manager-6d495f5c47-8pcqh -o yaml
securityContext:
privileged: true
volumeMounts:
- mountPath: /var/run/docker.sock
name: dockersock |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Did you create a kind cluster using the docker specific commands i.e.
|
Beta Was this translation helpful? Give feedback.
-
Also note - it's better to open an issue on the repo for this kind of topic. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @killianmuldoon! It works :) I get off on the right foot 🤪 |
Beta Was this translation helpful? Give feedback.
Did you create a kind cluster using the docker specific commands i.e.