A consul-template container based on Alpine and including curl for usage in the "command" directive
2.3K
This is a container for docker running consul-template by Hashicorp with an additional installation of curl.
There are only two features worth mentioning:
command directive within template sections, curl is preinstalled.
This way it's easy to query the Docker socket or APIs after a template change. Example:template {
source = "/mnt/templates/nginx.ctmpl"
destination = "/mnt/nginx/nginx.conf"
command = "curl --unix-socket /tmp/docker.sock -X POST http:/containers/nginx/kill?signal=SIGHUP"
perms = 0600
backup = true
}
Content type
Image
Digest
Size
5.6 MB
Last updated
over 9 years ago
docker pull m3adow/consul-template_curl