Home Explore Blog CI



docker

content/reference/cli/docker/service/logs.md
17324f11dce5fe7965ed4758d6c9bfb327c38fc116c023d200000003000001b8
---
datafolder: engine-cli
datafile: docker_service_logs
title: docker service logs
aliases:
- /edge/engine/reference/commandline/service_logs/
- /engine/reference/commandline/service_logs/
layout: cli
---

<!--
This page is automatically generated from Docker's source code. If you want to
suggest a change to the text that appears here, open a ticket or pull request
in the source repository on GitHub:

https://github.com/docker/cli
-->

Chunks
6c1a2ba7 (1st chunk of `content/reference/cli/docker/service/logs.md`)
Title: Docker Service Logs Documentation
Summary
This document introduces the `docker service logs` command-line tool, a component of the Docker Engine CLI. This documentation is automatically generated directly from the source code repository hosted on GitHub. Therefore, any suggestions for modifications or improvements to the text found on this page should be submitted as either a ticket (issue) or a pull request directly within the GitHub repository. This ensures that the changes are properly tracked and integrated into the official Docker documentation. This page provides an overview of how to use the `docker service logs` command, including its syntax, options, and examples of common use cases. It's intended to serve as a comprehensive reference for users who need to access and analyze logs generated by services running within a Docker Swarm.