get logs from another docker compose service code example Example: docker tail logs docker logs -f --tail 100 container-name