The docker-image resource expects name, not image

to be set

[ci skip]
This commit is contained in:
Jesse Szwedko 2015-06-28 19:14:00 -07:00
parent e5a9cee5bb
commit b05ca5a39c
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ resource "docker_container" "ubuntu" {
# Find the latest Ubuntu precise image.
resource "docker_image" "ubuntu" {
image = "ubuntu:precise"
name = "ubuntu:precise"
}
```

View File

@ -18,7 +18,7 @@ them.
```
# Find the latest Ubuntu precise image.
resource "docker_image" "ubuntu" {
image = "ubuntu:precise"
name = "ubuntu:precise"
}
# Access it somewhere else with ${docker_image.ubuntu.latest}
@ -28,7 +28,7 @@ resource "docker_image" "ubuntu" {
The following arguments are supported:
* `image` - (Required) The name of the Docker image, including any tags.
* `name` - (Required) The name of the Docker image, including any tags.
* `keep_updated` - (Optional) If true, then the Docker image will always
be updated on the host to the latest. If this is false, as long as an
image is downloaded with the correct tag, it won't be redownloaded if