TestProject Forum

Can't set up docker container

I want to use docker with TestProject. When I try to ruin the command from the official website (using Windows) testproject/agent - Docker Image | Docker Hub

I get the following:

Am I missing something?

Well, PowerShell does not interpreter Linux style commands.
The same with one-liner:
docker run --name testproject-agent -e TP_API_KEY="REPLACE_WITH_YOUR_KEY" -e TP_AGENT_ALIAS="My First Agent" testproject/agent:latest
will work well.

Example for multi-line command:

docker run --name testproject-agent `
-e TP_API_KEY=REPLACE_WITH_YOUR_KEY `
-e TP_AGENT_ALIAS='My First Agent' `
testproject/agent:latest