Skip to content

Commit 5b38ee2

Browse files
committed
Add platform to the docker run instructions
1 parent 085afef commit 5b38ee2

File tree

1 file changed

+1
-1
lines changed
  • content/terraform-docs-agents/v1.22.x/docs/cloud-docs/agents

1 file changed

+1
-1
lines changed

content/terraform-docs-agents/v1.22.x/docs/cloud-docs/agents/agents.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ To start the agent with the official Docker image and connect it to an HCP Terra
4949
```shell-session
5050
export TFC_AGENT_TOKEN=your-token
5151
export TFC_AGENT_NAME=your-agent-name
52-
docker run -e TFC_AGENT_TOKEN -e TFC_AGENT_NAME hashicorp/tfc-agent:latest
52+
docker run --platform=linux/amd64 -e TFC_AGENT_TOKEN -e TFC_AGENT_NAME hashicorp/tfc-agent:latest
5353
```
5454

5555
Once complete, your agent and its status appear on the **Agents** page in the HCP Terraform UI. Workspaces can now use this agent pool for runs. Refer to [Configure Workspaces to Use the Agent](/terraform/cloud-docs/agents/agent-pools#configure-workspaces-to-use-the-agent) for details.

0 commit comments

Comments
 (0)