-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Cluster failed in my dind container. #890
Comments
is /var/lib/docker a volume? |
kind runs a container runtime inside each node container, we do use with docker in docker for CI ourselves but don't necessarily recommend doing that if you can avoid it see #303, the same points apply to a single container as apply to kubernetes pods |
I run |
you shouldn't need to. can you give more info about |
note that for docker-in-docker the data root must be a volume regardless. see the details in #303 for other docker in docker requirements. |
docker info in my physical machine
|
that is from |
@zcc35357949 the kubelet is not running, you have to create the cluster with the
you can use |
I check the dind Dockerfile which I used, it has included |
seems that is not able to load the components images
can you check inside the node if the images are there?
|
what volume driver are you using for docker in docker? |
Inside the node crictl images:
|
dind container's inspect info:
|
er we need to know how the inner docker is configured |
you also appear to be missing cgroups |
ps -ewf
docker-containerd config:
docker info:
|
it should probably not be using vfs. |
just curious, what are those minikube references inside that containter?
|
It is a dind image which has been installed minikube, but I had deleted minikube cluster before using kind. And using a dind image without minikube I got the same result. |
You probably need for docker in docker:
For the host, I would start to upgrading to a newer docker. |
I upgrading docker version to 18.06 in my physical machine, and change the storage driver to overlay2.Indeed kind create cluster successfully. |
Excellent! |
hi, I install go1.13+ in a dind container.And run
kind create cluster
, but it seem to be always failed.I find in debug logs there are some errors not expected, such as:
I don't know kind how to validate container runtime, my dockerd is running normally.
And I also can pull these images manually.
docker info
kind.log
The text was updated successfully, but these errors were encountered: