Docker Community Forums

Share and learn in the Docker community.

Couldn't build project images - Could not build image:

I am logged in Docker Hub and I have all the required settings, but i still receive the following error:

Could not build image: Can not construct instance of com.spotify.docker.client.messages.RegistryAuth: no String-argument constructor/factory method to deserialize from String value (‘desktop’)
[ERROR] at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.LinkedHashMap[“credsStore”])

Any fixes on this? i’ve reinstalled docker multiple times with different settings and versions and could’nt get this to work.


Thank you for your knowledge.

I really appreciate it.

Merchant crypto