docker打包报错:Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:push
具体报错:Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:push (default-cli) on project securedoc: Exception caught: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.JsonMapping
·
具体报错:Failed to execute goal com.spotify:docker-maven-plugin:1.0.0:push (default-cli) on project securedoc: Exception caught: com.spotify.docker.client.shaded.com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of com.spotify.docker.client.messages.RegistryAuth: no String-argument constructor/factory method to deserialize from String value ('desktop')
解决办法:
win10:在C盘的用户目录下,找到**.docker**文件夹,然后用文档编辑器打开config.json,然后将{"credsStore":"desktop"}
,改为:{}
,保存并退出,然后重新打包即可。
更多推荐
已为社区贡献1条内容
所有评论(0)