国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Ubuntu 16.04+、Debian 8+、CentOS 7+
创建或修改 /etc/docker/daemon.json
:
2019-05-17 12:05:19.847 INFO 40060 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration$$EnhancerBySpringCGLIB$$25365eb7] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) | |
******************************************************************************* | |
aspirecloud-skynet (version:Greenwich.RELEASE) | |
******************************************************************************* | |
2019-05-17 12:05:20.997 INFO 40060 --- [ main] i.aspirecn.rdc.node.admin.service.App : The following profiles are active: dev | |
2019-05-17 12:05:21.459 WARN 40060 --- [ main] o.s.boot.actuate.endpoint.EndpointId : Endpoint ID 'service-registry' contains invalid characters, please migrate to a valid format. | |
2019-05-17 12:05:21.873 WARN 40060 --- |