'Create a config file with a JSON blob containing an auths key.
:return: None'

def create_config_file(self, path):

    self.log(('Creating    docker    config    file    %s' % path))
    config_path_dir = os.path.dirname(path)
    if (not os.path.exists(config_path_dir)):
        try:
            os.makedirs(config_path_dir)
        except Exception as exc:
            self.fail(('Error:    failed    to    create    %s    -    %s' % (config_path_dir, str(exc))))
    self.write_config(path, dict(auths=dict()))
