Movatterモバイル変換


[0]ホーム

URL:


HashiConf 2025Don't miss the live stream of HashiConf Day 2 happening now View live stream

Get Started - Docker

Build, change, and destroy Docker infrastructure using Terraform. Step-by-step, command-line tutorials will walk you through the Terraform basics for the first time.

Start
7 tutorials
  1. Interactive
    3min
    What is Infrastructure as Code with Terraform?
    Learn how infrastructure as code lets you safely build, change, and manage infrastructure. Try Terraform.
    • Terraform
    • Video
  2. 7min
    Install Terraform
    Install Terraform on Mac, Linux, or Windows by downloading the binary or using a package manager (Homebrew or Chocolatey). Then create a Docker container locally by following a quick-start tutorial to check that Terraform installed correctly.
    • Terraform
    • Video
  3. 10min
    Build infrastructure
    Use Terraform to deploy a Docker container, format your Terraform configuration, and review your infrastructure state.
    • Terraform
  4. 4min
    Change infrastructure
    Modify Docker container configuration to use a different external port. Plan and apply the changes to re-provision a new container that reflects the new configuration. Learn how Terraform handles infrastructure change management.
    • Terraform
  5. 2min
    Destroy infrastructure
    Destroy the Docker container you created in the previous tutorials. Evaluate the plan and confirm the destruction.
    • Terraform
  6. 4min
    Define input variables
    Declare your Docker container name as a variable. Reference the variable in Terraform configuration. Define variables using command line flags, environment variables, .tfvars files or default values.
    • Terraform
  7. 5min
    Query data with outputs
    Declare output values to display a Docker containers name and ID. Display all outputs and query specific outputs. Define what data stored in Terraform state is relevant to the operator or end user.
    • Terraform

[8]ページ先頭

©2009-2025 Movatter.jp