Skip to content

Instantly share code, notes, and snippets.

View keiththomps's full-sized avatar

Keith Thompson keiththomps

View GitHub Profile
# Download the latest Ghost Image
resource "docker_image" "image_id" {
name = "${var.image}"
}
# Start the Container
resource "docker_container" "container_id" {
name = "${var.container_name}"
image = "${docker_image.image_id.latest}"
ports {