您可以通过增加Docker的仓库镜像来加速下载速度。比如,您可以添加阿里云的镜像地址或***,因为mirrors是复数形式。在这里,您可以使用阿里云的镜像加速地址,例如https://xxxx.mirror.aliyuncs.com。如果您想使用国内镜像地址来解决下载速度太慢的问题,您可以这样做:
// 阿里云镜像地址 // central仓和jcenter仓的聚合仓 maven { url 'https://maven.aliyun.com/repository/public' } // google镜像地址 maven { url 'https://maven.aliyun.com/repository/google' }