I tried to enter the backspace etc .. as part of docker container prompt. They doesnt seem working. Here it is ( whereever you see ^H^H^H^H , that is the time backspace is entered )
I know it might be the issue with stty etc .. Please suggest wrt to the container how to resolve this
training@training-virtualbox:~$ docker container exec -it spark-submit sh
# cat submit ^H^H^H^H
cat: submit: No such file or directory
cat: ''$'\b\b\b\b': No such file or directory
# ^[[: not found
# cat submit.sh
#!/bin/bash