I need help with accessing interactive mode of Docker image thanks to lack of knowledge in needed area.
I want open file , and read from file, and use image filesystem (traversal and search).
I think I need interactive mode for that because I haven't succeeded to do that using exec command. (reading from txt file in docker image)
I've been trying to do this for few days and now I have only 1 day left so I desperately ask for help here. I tried to do this both on Docker on Ubuntu and on Windows.
Commands and error messages I tried
sudo docker run -d x/x:x
docker run -d x/x:x
docker run -it x
docker run -dit x/x:x
docker run -it --entrypoint /bin/bash x
docker run -it x/x:x bash
docker run -itd x/x:x sh
docker run -it x sh
Pictures better explain those failed attempts (commands and errors).
Errors with Ubuntu Docker: errors Ubuntu Docker
Errors with Windows Docker: Errors Windows Docker