

# Building your own CloudWatch agent Docker image
<a name="ContainerInsights-build-docker-image"></a>

You can build your own CloudWatch agent Docker image by referring to the Dockerfile located at [ https://github.com/aws-samples/amazon-cloudwatch-container-insights/blob/latest/cloudwatch-agent-dockerfile/Dockerfile](https://github.com/aws-samples/amazon-cloudwatch-container-insights/blob/latest/cloudwatch-agent-dockerfile/Dockerfile).

The Dockerfile supports building multi-architecture images directly using `docker buildx`.