windows下IDEA上配置好docker,在给jar包打包镜像时报错如下:
Failed to deploy 'xlf/xlf-system:1.7.0 Dockerfile: xlf-modules/xlf-system/Dockerfile': Cannot invoke "java.util.Map.entrySet()" because the return value of "com.github.dockerjava.core.DockerConfigFile.getAuths()" is null
解决方法:
本地C:/当前用户目录/~/. docker/config.json
图中箭头地方“null”改为“{}”。