DOCKER(1)

πŸ’– DOCKER(1) β€” docker-service-logs πŸ’–

okay bestie, welcome to the docker-service-logs page from the Docker User Manuals. this is the part where we get the receipts β€” the logs β€” from a service or a task. let's go 🫢


✨ NAME ✨

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


πŸ¦‹ SYNOPSIS πŸ¦‹

docker service logs [OPTIONS] SERVICE|TASK

like, you hand it a SERVICE or a TASK, you sprinkle in whatever OPTIONS you want, and it hands you back the tea. β˜•


🌸 DESCRIPTION 🌸

Fetch the logs of a service or task

that's it, that's the whole job. it's giving "just tell me what happened" and honestly? iconic. πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • --details[=false] β€” Show extra details provided to logs. default is false, so you're not getting the bonus lore unless you ask for it.
  • -f, --follow[=false] β€” Follow log output. it just... keeps going. stays with the output like a loyal bestie. default false.
  • --no-resolve[=false] β€” Do not map IDs to Names in output. you get the raw IDs, no glow-up into pretty names. default false.
  • --no-task-ids[=false] β€” Do not include task IDs in output. default false.
  • --no-trunc[=false] β€” Do not truncate output. nothing gets chopped. full sentences only. default false.
  • --raw[=false] β€” Do not neatly format logs. messy on purpose, no filter. default false.
  • --since="" β€” Show logs since timestamp (e.g. "2013-01-02T13:23:37Z") or relative (e.g. "42m" for 42 minutes). default is "" so it's not holding anything back.
  • -n, --tail="all" β€” Number of lines to show from the end of the logs. default is "all" because we do not gatekeep. 😌
  • -t, --timestamps[=false] β€” Show timestamps. default false, so turn it on if you wanna know when everything went down.

🌈 SEE ALSO 🌈

docker-service(1)

go read that one too, they're a set. matching friendship bracelets fr fr. πŸŽ€


okay that's the whole page bestie!! you're officially fluent in service logs. mwah πŸ’œ

this lil manual page came to you courtesy of the Docker Community, and it's dated Oct 2026. slay, periodt, and happy logging!! βœ¨πŸšπŸ’–

πŸ“¦ where this page comes from