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.
2 parents 7bc7ca9 + 16a57c9 commit 7c84209Copy full SHA for 7c84209
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