OS-3593: re-write of the docker reg clients