Q. Which command is used to get the IP address of a running Docker container?
β
Correct Answer: (B)
docker inspect container_name | grep IP
Explanation: 'docker inspect container_name | grep IP' will retrieve the IP address of a running container.