CmdID / docker / docker service
docker service inspect
Display detailed information on one or more services Docker CLI reference
2 options Its page in the Docker CLI reference
Options
--format, -fFormat output using a custom template: 'json': Print in JSON format 'TEMPLATE': Print output using the given Go template.--prettyPrint the information in a human friendly format