mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-20 22:59:42 -05:00
10 lines
220 B
HCL
10 lines
220 B
HCL
# Start a container
|
|
resource "docker_container" "ubuntu" {
|
|
name = "foo"
|
|
image = docker_image.ubuntu.image_id
|
|
}
|
|
|
|
# Find the latest Ubuntu precise image.
|
|
resource "docker_image" "ubuntu" {
|
|
name = "ubuntu:precise"
|
|
}
|