Add support for docker registries.