Tag Archives: OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown

[Solved] OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown

Execute Docker commands:
docker exec -it 6620a3dc4d19 /bin/bash

Error Messages:
OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: “/bin/bash”: stat /bin/bash: no such file or directory: unknown

 

Solution:

docker exec -it 1e33b26152e1 /bin/sh

docker exec -it 1e33b26152e1 /bash

docker exec -it 1e33b26152e1 /sh