Docker OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caus

docker executes the command:docker exec -it 1e33b26152e1 /bin/bash
Error on entering container: OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused “exec: \”/bin/bash\”: stat /bin/bash: no such file or directory”: unknown
Error scenario:I am pulling a registry image to build a private repository. I ran the registry image and then entered the container.
Solution:
docker exec -it 1e33b26152e1 /bin/sh
or
docker exec -it 1e33b26152e1 bash
or
docker exec -it 1e33b26152e1 sh

Similar Posts: