skip to content
Alvin Lucillo

Container sh error

/ 1 min read

💻 Tech

When you see this error in a pod’s logs, it means the container couldn’t run a command with -c. Probably, the command in the container’s spec missed /bin/sh or sh before -c in the command array. failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "-c": exe