docker exec -it <container_name> <command>

Meaning: Combines -i and -t to run an interactive terminal session. Usage: Provides an interactive terminal within the container. Example: docker exec -it my-container bash opens an interactive bash shell in my-container.