You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error:
error running container: error creating container for [/bin/sh -c mkdir -p /usr/src/app]: : exec: "runc": executable file not found in $PATH
This is running in a docker:
RUN sudo apt-get install golang-go -y
RUN mkdir ~/buildah
RUN cd ~/buildah
RUN export GOPATH=pwd
RUN git clone https://github.com/projectatomic/buildah ./src/github.com/projectatomic/buildah
RUN sudo cp -a /projects/src/github.com/projectatomic/buildah/vendor/github.com/opencontainers/runc /usr/bin/.
RUN sudo apt-get install buildah -y
Am I missing something?
Thanks,
The text was updated successfully, but these errors were encountered:
Thanks for posting. I just encountered this with k3s. When I added a node the pods were showing an error like.
Dec 13 10:55:15 K8SW-04 k3s[889]: E1213 10:55:15.328927 889 kuberuntime_sandbox.go:70] "Failed to create sandbox for pod" err="rpc error: code = Unknown desc = failed to create containerd task: failed to create shim task: OCI runtime create failed: unable to retrieve OCI runtime error (open /run/k3s/containerd/io.containerd.runtime.v2.task/k8s.io/45f94047789b998bab98d9a81b41b8b159fd0b27190ef11ea0cf030d120e1eb1/log.json: no such file or directory): exec: \"runc\": executable file not found in $PATH: unknown" pod="longhorn-system/longhorn-csi-plugin-6k94d"
On the node I ran "sudo apt install runc". Error went away and pods started landing.
Hi,
I have the same issue that is described here nkhare/k8s-cicd-webinars#6
error:
error running container: error creating container for [/bin/sh -c mkdir -p /usr/src/app]: : exec: "runc": executable file not found in $PATH
This is running in a docker:
RUN sudo apt-get install golang-go -y
RUN mkdir ~/buildah
RUN cd ~/buildah
RUN export GOPATH=pwd
RUN git clone https://github.com/projectatomic/buildah ./src/github.com/projectatomic/buildah
RUN sudo cp -a /projects/src/github.com/projectatomic/buildah/vendor/github.com/opencontainers/runc /usr/bin/.
RUN sudo apt-get install buildah -y
Am I missing something?
Thanks,
The text was updated successfully, but these errors were encountered: