Quantcast
Viewing latest article 4
Browse Latest Browse All 60

Referencing locally built Docker images in Terraform

Is it possible to use docker images in Terraform that are not hosted in a registry but in the local Docker storage?

I'd like to have a resource like the following where no pull is performed on the image if it exists locally.

resource "docker_container""my_service" {  image = "my_locally_built_image_name"  name  = "my-service"}

Viewing latest article 4
Browse Latest Browse All 60

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>