Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 676 Bytes

File metadata and controls

17 lines (12 loc) · 676 Bytes
title sidebar_label slug
service exec
service exec
/service-exec

To run a specific shell command inside a service container, run:

kurtosis service exec $THE_ENCLAVE_IDENTIFIER $THE_SERVICE_IDENTIFIER 'COMMAND'

where $THE_ENCLAVE_IDENTIFIER and the $THE_SERVICE_IDENTIFIER are resource identifiers for the enclave and service, respectively.

The specified command should be appropriately quoted and will be passed as it is to the shell interpreter of the running service container.

If the command returns a non-zero exit code, Kurtosis CLI will print an error and also return a non-zero exit code.