docker-service-logs man page

docker-service-logs ā€” Fetch the logs of a service or task

Synopsis

docker service logs [Options] SERVICE|TASK

Description

Fetch the logs of a service or task

Options

--details[=false]

Show extra details provided to logs

-f, --follow[=false]

Follow log output

-h, --help[=false]

help for logs

--no-resolve[=false]

Do not map IDs to Names in output

--no-task-ids[=false]

Do not include task IDs in output

--no-trunc[=false]

Do not truncate output

--raw[=false]

Do not neatly format logs

--since=""

Show logs since timestamp (e.g. 2013-01-02T13:23:37) or relative (e.g. 42m for 42 minutes)

--tail="all"

Number of lines to show from the end of the logs

-t, --timestamps[=false]

Show timestamps

See Also

docker-service(1)

Referenced By

docker-service(1).

Aug 2018 Docker Community