Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. provider "local"{}
  2. # Start a container
  3. resource "docker_container" "application" {
  4. image = "${docker_image.application.latest}"
  5. must_run = true
  6. name = "application"
  7. ports {
  8. internal = 9411
  9. external = 8080
  10. }
  11. }
  12.  
  13. # Find the latest Ubuntu precise image.
  14. resource "docker_image" "application" {
  15. name = "openzipkin/zipkin"
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement