Skip to content
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

Fix devcontainer #4

Closed
wants to merge 15 commits into from
Closed

Fix devcontainer #4

wants to merge 15 commits into from

Conversation

mbtamuli
Copy link
Owner

@mbtamuli mbtamuli commented Feb 3, 2024

At least on my laptop, the devcontainer doesn't allow creating a Kind cluster.

kind create cluster
Creating cluster "kind" ...
 ✓ Ensuring node image (kindest/node:v1.27.3) 🖼 
 ✗ Preparing nodes 📦  
Deleted nodes: ["kind-control-plane"]
ERROR: failed to create cluster: command "docker run --name kind-control-plane --hostname kind-control-plane --label io.x-k8s.kind.role=control-plane --privileged --security-opt seccomp=unconfined --security-opt apparmor=unconfined --tmpfs /tmp --tmpfs /run --volume /var --volume /lib/modules:/lib/modules:ro -e KIND_EXPERIMENTAL_CONTAINERD_SNAPSHOTTER --detach --tty --label io.x-k8s.kind.cluster=kind --net kind --restart=on-failure:1 --init=false --cgroupns=private --publish=127.0.0.1:38971:6443/TCP -e KUBECONFIG=/etc/kubernetes/admin.conf kindest/node:v1.27.3@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72" failed with error: exit status 125
Command Output: 343ee25c9a0f958af1d80c93a20141bec4822ff7f2827d54d3016bb57cffec3a
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: waiting for init preliminary setup: read init-p: connection reset by peer: unknown.

The changes in this PR is an attempt at fixing it.

References:

Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
@mbtamuli mbtamuli closed this Feb 3, 2024
@mbtamuli mbtamuli deleted the devcontainer branch February 3, 2024 18:13
@mbtamuli mbtamuli restored the devcontainer branch February 3, 2024 18:15
@mbtamuli mbtamuli reopened this Feb 3, 2024
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant