how to get logs of a detach docker compose code example Example: linux get docker compose logs docker-compose logs -t -f --tail <no of lines>