What happens when you execute the command docker run debian /bin/sh?
Answers
Installation and the setup went well but when I tried to create my first container i faced a problem.
I tried to process an interactive bash shell on the container but that didn’t work. i have no output and no errors in log file.
Here’s the commands that i tried
docker exec -it “container-id” bash
docker exec -it “container-id” /bin/bash
But when i run .exe file without a input that’s worked.
In case you are already conscious of the name of the container and if you do not run your ps in docker for listing the processes of the OS that are running.
You can always use the docker run or even go forward and execute the docker exec but only after specifying the interactive version of the command, i.e. by using -i flag and allocate a terminal by specifying -t.