Docker запустить в интерактивном режиме
docker run -it image_name /bin/bash
OR
docker run -it image_name tty
Shutup & Copy
docker run -it image_name /bin/bash
OR
docker run -it image_name tty
sudo docker exec -it <container name> <command>