Command: simulator

Syntax

phala simulator [options] [command]

Description

The phala simulator command is used to launch a local TEE Simulator for testing locally against your local development to simulate how your application will be able to call the TEE functions like remote attestation or key generation with the KMS.
Usage: phala simulator [options] [command]

TEE simulator commands

Options:
  -h, --help       display help for command

Commands:
  start [options]  Start the TEE simulator
  stop [options]   Stop the TEE simulator
  help [command]   display help for command

Examples

  • Display help
phala simulator --help
  • Start the TEE Simulator
# default uses docker
phala simulator start --port 8090
# run on the native host machine
phala simulator start --type native
  • Get a CVM’s Information
# default uses docker
phala simulator stop --port 8090
# stop on the native host machine
phala simulator stop --type native