mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-11 23:03:13 -05:00
10 lines
218 B
HCL
10 lines
218 B
HCL
# Start a container
|
|
resource "docker_container" "ubuntu" {
|
|
name = "foo"
|
|
image = docker_image.ubuntu.latest
|
|
}
|
|
|
|
# Find the latest Ubuntu precise image.
|
|
resource "docker_image" "ubuntu" {
|
|
name = "ubuntu:precise"
|
|
}
|