具体报错: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"},改为:{},保存并退出,然后重新打包即可。

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐