This is my simple solution. If there isn't a docker.io entry in custom_registries, I insert one. And then the template doesn't need any extra logic to figure out whether to output the docker.io host or not.
This is my simple solution. If there isn't a docker.io entry in custom_registries, I insert one. And then the template doesn't need any extra logic to figure out whether to output the docker.io host or not.