How do you disiplay logs of a service my-service that is running based on a Docker Compose file?

Experience Level: Junior
Tags: Docker Compose


Run the following command:

docker compose logs my-service


No Comments Yet.
Be the first to tell us what you think.
Docker Compose
Docker Compose

Are you learning Docker Compose ? Try our test we designed to help you progress faster.

Test yourself