CmdID / docker / docker service
docker service ps
List the tasks of one or more services Docker CLI reference
5 options Its page in the Docker CLI reference
Options
--filter, -fFilter output based on conditions provided--formatPretty-print tasks using a Go template--no-resolveDo not map IDs to Names--no-truncDo not truncate output--quiet, -qOnly display task IDs