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
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "bash": executable file not found in $PATH": unknown
This error occurs if the executable was not found inside the container (so the $PATH on your host is not relevant here).
Without information about the container / image you're running, there's not much to tell, but most likely, the container does not have bash installed (you can try running sh instead of bash - docker exec -it <your container> sh), or if it's a minimal image, the container may not have a shell installed at all (in which case you can't use docker exec to get a shell).
This doesn't look like a bug, and without more details, this ticket is not actionable, so I'm closing it. Feel free to continue the conversation after I closed though.
Using the docker command docker exec -it <your container> sh will allow you to overcome the issue. It does appear that bash is not installed in the container.
OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "bash": executable file not found in $PATH": unknown
I am facing this issue,
I have this in my $PATH
/home/ec2-user/.local/bin:/home/ec2-user/bin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
Originally posted by @AkulaRushikesh in #246 (comment)
The text was updated successfully, but these errors were encountered: