You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
resource "docker_image" "nginx" {
|
|
name = "nginx:latest"
|
|
keep_locally = false
|
|
}
|
|
|
|
resource "docker_container" "nginx" {
|
|
image = docker_image.nginx.latest
|
|
name = "tutorial"
|
|
ports {
|
|
internal = 80
|
|
external = 8000
|
|
}
|
|
}
|