Skip to main content

Local machine

To deploy the Test Run Engine (TRE) locally for testing your product, you can follow these steps. This is particularly useful if you want to bring your application stack to a local environment or test against public APIs. However, it's important to note that any resources deployed within a private subnet of a public cloud will not be accessible from the locally deployed TRE.

Step 1

Pull the latest version of the TRE image:

docker pull

Step 2

Run the docker container with the required environment variables:


To pass additional environment variables, you can use the -e parameter.

docker run -d --name "tesmon-test-run-engine" -p 8888:8888 -e TESMON_TRE_PORT=8888 -e TESMON_ENVIRONMENT_ID=************** -e TESMON_API_TOKEN=**************
TESMON_ENVIRONMENT_IDEnvironment ID from Environments pagetrue
TESMON_API_TOKENToken from Tokens pagetrue
TESMON_TRE_PORTThe port number for the Tesmon Test Run Engine. Defaults to 80 if not specified.


Repeat Step 1 and Step 2 as shown above.