service inspect
To view detailed information about a given service, including its status and attributes, run:
kurtosis service inspect $THE_ENCLAVE_IDENTIFIER $THE_SERVICE_IDENTIFIER
where $THE_ENCLAVE_IDENTIFIER
and the $THE_SERVICE_IDENTIFIER
are resource identifiers for the enclave and service, respectively.
Running the above command will print detailed information about:
- The service name and UUID
- The service status (running or stopped)
- The service container image name
- The service private ports and their public mapping
- The service container ENTRYPOINT, CMD and ENV
By default, the service UUID is shortened. To view the full UUID of your service, add the following flag:
--full-uuid
You can also control the output format using the --output
(-o
) flag:
--output yaml
will print the service config in YAML format--output json
will print the service config in JSON format (this can be piped intoservice add
via--json-service-config
)- If
--output
is omitted, the result will be printed in a human-readable format