Created
April 28, 2019 11:53
-
-
Save stevenfrst/731ad7fe80a84f3788fdf43686cca8d1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "docker_image" "nginx" { | |
name = "nginx" | |
} | |
resource "docker_container" "nginx" { | |
name = "nginx-1" | |
image = "${docker_image.nginx.latest}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment