diff --git a/website/docs/cloud-docs/agents/agents.mdx b/website/docs/cloud-docs/agents/agents.mdx index cf7e2c7..0240be9 100644 --- a/website/docs/cloud-docs/agents/agents.mdx +++ b/website/docs/cloud-docs/agents/agents.mdx @@ -61,7 +61,7 @@ Alternatively, you can use our official agent Docker container to run the agent. ``` docker pull hashicorp/tfc-agent:latest -docker run -e TFC_AGENT_TOKEN=your-token -e TFC_AGENT_NAME=your-agent-name hashicorp/tfc-agent +docker run -d -e TFC_AGENT_TOKEN=your-token -e TFC_AGENT_NAME=your-agent-name hashicorp/tfc-agent ``` This Docker image executes the `tfc-agent` process as the non-root `tfc-agent` user. For some workflows, such as workflows requiring the ability to install software using `apt-get` during `local-exec` scripts, you may need to build a customized version of the agent Docker image for your internal use.