We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bc7ca9 commit 16a57c9Copy full SHA for 16a57c9
templates/dnsmasq.hosts.conf.tmpl
@@ -0,0 +1,7 @@
1
+{{$domain := "docker.company.com"}}
2
+{{range $key, $value := .}}
3
+# {{ $value.Name }} ({{$value.ID}} from {{$value.Image.Repository}})
4
+{{$value.IP}} {{ $value.Name }}.{{$domain}}
5
+{{$value.IP6Global}} {{ $value.Name }}.{{$domain}}
6
+
7
+{{end}}
0 commit comments