Skip to content

Quick Start

Get up and running with the Terraform Toolkit Docker image in minutes.

Prerequisites

Make sure you have Docker installed on your system.

Pull the Image

docker pull ops4life/terraform-toolkit:latest

The image is available on Docker Hub.

Run the Container

Start an interactive session:

docker run -it ops4life/terraform-toolkit:latest

You now have access to all bundled tools:

terraform --version
terragrunt --version
checkov --version
terraform-docs --version
tflint --version
trivy --version
aws --version
eksctl version
pre-commit --version

Run Terraform Commands

Mount your working directory and run Terraform:

docker run -v $(pwd):/workspace -w /workspace ops4life/terraform-toolkit:latest terraform init

Run Security Scans

Scan your Terraform configurations with Checkov:

docker run -v $(pwd):/workspace -w /workspace ops4life/terraform-toolkit:latest checkov -d .

Scan with Trivy:

docker run -v $(pwd):/workspace -w /workspace ops4life/terraform-toolkit:latest trivy config .

Next Steps