docker service logs

Estimated reading time: 1 minute

Description

Fetch the logs of a service

Usage

docker service logs [OPTIONS] SERVICE

Options

Name, shorthand Default Description
--details false Show extra details provided to logs
--follow, -f false Follow log output
--no-resolve false Do not map IDs to Names
--since   Show logs since timestamp
--tail all Number of lines to show from the end of the logs
--timestamps, -t false Show timestamps

Parent command

Command Description
docker service Manage services
Command Description
docker service create Create a new service
docker service inspect Display detailed information on one or more services
docker service logs Fetch the logs of a service
docker service ls List services
docker service ps List the tasks of one or more services
docker service rm Remove one or more services
docker service scale Scale one or multiple replicated services
docker service update Update a service
chat icon Feedback? Suggestions? Can't find something in the docs?
Edit this page Request docs changes Get support
Rate this page: