Q. Which Docker command would you use to enter an interactive shell inside a running container?
β
Correct Answer: (A)
docker exec -it
Explanation: 'docker exec -it' is used to run an interactive shell inside a running container.