Demonstrate the usage of templates with docker service create

by codydiehl
GNU/Linux ◆ xterm ◆ bash 2796 views

Demonstration of using Go Templates on a docker service create, in this instance we use NodeHostname-NodeID-ServiceName as the hostname of the containers deployed within the service.