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
{{ message }}
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.
Using containerd 1.2.8 or 1.2.9, containers fail to search the path if env PATH is not defined inside the container.
Simple reproducer
apiVersion: v1
kind: Pod
metadata:
name: test
spec:
containers:
- command:
- sh
- -cxe
- |
while true; do
sleep 1000;
done
image: docker.io/gitlab/gitlab-runner-helper:x86_64-latest
imagePullPolicy: Always
name: main
Containers fail like so:
"ad62ed990987fba56502eb63d63b00a4804f2b0c77feb1a2f8b92cd3bb98b1be": OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "exec: "sh": executable file not found in $PATH": unknown
The text was updated successfully, but these errors were encountered:
{ note I've moved this to the CRI as the PR to fix the issue is in this repository } @kfox1111 disappointing that we missed the alternate path to creating an OCI spec in the CRI implementation that lost the default $PATH due to the changes in containerd. PR #1280 will fix this and then we can figure out a path to get the 1.2.x release line fixed.
Using containerd 1.2.8 or 1.2.9, containers fail to search the path if env PATH is not defined inside the container.
Simple reproducer
Much more detail in containerd/containerd#3597
Containers fail like so:
"ad62ed990987fba56502eb63d63b00a4804f2b0c77feb1a2f8b92cd3bb98b1be": OCI runtime exec failed: exec failed: container_linux.go:345: starting container process caused "exec: "sh": executable file not found in $PATH": unknown
The text was updated successfully, but these errors were encountered: