Skip to content

How to fix that CAPD fails to interact with error "Cannot connect to the Docker daemon" #8049

Answered by killianmuldoon
youngbo89 asked this question in Q&A
Discussion options

You must be logged in to vote

Did you create a kind cluster using the docker specific commands i.e.

cat > kind-cluster-with-extramounts.yaml <<EOF
kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4
nodes:
- role: control-plane
  extraMounts:
    - hostPath: /var/run/docker.sock
      containerPath: /var/run/docker.sock
EOF

kind create cluster --config kind-cluster-with-extramounts.yaml

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by youngbo89
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants