Docker Community Forums

Share and learn in the Docker community.

Add custom template flag value for --hostame argument of docker service create


(Warrior7089) #1

Is it possible to add custom template flag value for --hostame argument of docker service create command?

List of available flag values is here:

I would like to add .HOSTNAME flag from the output of docker node ls output.
Regards.