0 votes
in Docker by
What is the purpose of Docker-compose exec?

A) To execute a command in a running container in a multi-container Docker application defined in a Docker Compose file

B) To manage Docker images

C) To manage Docker containers

D) To manage Docker networks

1 Answer

0 votes
by

Answer: A

Explanation: Docker-compose exec is a command for executing a command in a running container in a multi-container Docker application defined in a Docker Compose file. It allows developers to execute commands in a container’s environment without having to start a new container.

...