OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"/bin/bash\"



  • Full error: OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: "/bin/bash": stat /bin/bash: no such file or directory": unknown

    $ docker exec -it amazing_leavitt /bin/bash 
    OCI runtime exec failed: exec failed: container_linux.go:348: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown
    

    The long way of saying, the container "amazing_leavitt" cannot find a file called /bin/bash.

    Replace the container name with your container name, You can run the following to check certain directories.

    $ docker exec -it amazing_leavitt  ls /bin

Log in to reply
 

© Lightnetics 2024