Getting following error while run docker build...
OCI runtime create failed: container_linux.go:349: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such file or directory": unknown
Your container doesn't have bash
installed but probably it has sh
so run the container with (replace /bin/bash
with /bin/sh
):
docker exec -it username/imagename /bin/sh
This is because the container i'm trying to access doesn't have the /bin/bash executable.
Replace RUN ["/bin/bash"...
by RUN ["/bin/sh"...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With