Skip to main content

Usage

phala simulator [subcommand] [options]
Running phala simulator without subcommands shows the current status.

Subcommands

simulator start

Start the TEE simulator.

Options

FlagShortDefaultDescription
--port-p8090Port number for the simulator
--verbose-vfalseEnable verbose logging

Examples

$ phala simulator start
$ phala simulator start -p 9000
$ phala simulator start -p 9000 --verbose

simulator stop

Stop the TEE simulator.

Examples

$ phala simulator stop

Environment Variables

When the simulator is running, set these environment variables to connect your application:
export DSTACK_SIMULATOR_ENDPOINT=/path/to/dstack.sock
export TAPPD_SIMULATOR_ENDPOINT=/path/to/tappd.sock