if config.docker.api is nil, use a new Hashr instance for now