![]() ![]() Here, we provide it with a format string to extract. You can inspect a service, either by its name, or IDįor example, given the following service $ docker service lsĭmu1ept4cxcf redis replicated 3 / 3 redis : 3.0. docker inspect is an advanced command, that can retrieve a ton of information about our containers. To learn about managers and workers, refer to the Swarm mode section in the documentation. This is a cluster management command, and must be executed on a swarm manager node. Go's text/template package describes all the details of the format. If a format is specified, the given template will be executed for each result. Refer to https : ///go/formatting/ for more information about formatting output with templates - pretty Print the information in a human friendly formatīy default, this renders all results in a JSON array. docker info : This command displays system wide information of the docker server which. You can obtain full information about a container in JSON format by using the docker inspect command. 'TEMPLATE' : Print output using the given Go template. Oracle Container Runtime for Docker Users Guide. Options : - f, - format string Format output using a custom template : 'json' : Print in JSON format Title: “service inspect” description: “The service inspect command description and usage” keywords: “service, inspect” service inspect Usage : docker service inspect SERVICE Display detailed information on one or more services ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |