Invoking serviced

To use serviced, you need a login account on hosts in Control Center pools. The account must be a member of the docker group.

You can invoke serviced from the Control Center master host or a delegate host. For example, to list the services running on the master host, enter the following command:

serviced service list

To invoke serviced on a delegate host, you can specify the master host and port by using the --endpoint global option. Replace Master-Host with the hostname or IP address of the Control Center master host.

Example:

serviced --endpoint Master-Host:4979 service list