Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- provider "local"{}
- # Start a container
- resource "docker_container" "application" {
- image = "${docker_image.application.latest}"
- must_run = true
- name = "application"
- ports {
- internal = 9411
- external = 8080
- }
- }
- # Find the latest Ubuntu precise image.
- resource "docker_image" "application" {
- name = "openzipkin/zipkin"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement