Running an interactive shell in a container

docker exec -it {{ container_id }} bash
docker exec -it {{ container_id }} sh
-i (--interactive) - starts in interactive mode which allows to interract with container
-t (--tty) - allocate a TTY, without this flag you can also interact with container, but you will not have a nicer, more features terminal

This is powerful for debugging.