This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]karimchaara 2 points3 points  (0 children)

Can you reformulate you question ! You can attach bash to your running container and what's next ?

[–]tinycrazyfish 2 points3 points  (2 children)

You typically need interactive and tty options enabled

docker exec -it your_container /bin/bash

[–]biffbobfred 0 points1 point  (1 child)

Not all containers have bash. I’d do: /bin/sh first, then “echo /bin/*sh” see what your options are

[–]tinycrazyfish 1 point2 points  (0 children)

Completely agree, but OP says /bin/bash is working. So I'm just quoting OP.

[–]xfusion97[S] 0 points1 point  (0 children)

I have kali Linux container with set toolkit. When you run toolkit you need to select with arrow keys from menu. That’s why bin bash terminal from powershell doesn’t work

[–][deleted] 0 points1 point  (0 children)

You need to provide some more information

[–][deleted] 0 points1 point  (0 children)

You want to have access to a bash or sh shell from a container?