mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-02-18 18:18:08 -05:00
docs(r/container): fix the example to keep container running
This commit is contained in:
parent
a8517ea302
commit
ce2bb25872
2 changed files with 2 additions and 0 deletions
|
|
@ -17,6 +17,7 @@ Manages the lifecycle of a Docker container.
|
|||
resource "docker_container" "ubuntu" {
|
||||
name = "foo"
|
||||
image = docker_image.ubuntu.latest
|
||||
tty = true
|
||||
}
|
||||
|
||||
# Find the latest Ubuntu precise image.
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
resource "docker_container" "ubuntu" {
|
||||
name = "foo"
|
||||
image = docker_image.ubuntu.latest
|
||||
tty = true
|
||||
}
|
||||
|
||||
# Find the latest Ubuntu precise image.
|
||||
|
|
|
|||
Loading…
Reference in a new issue