"AuthConfig" unrecognized field 'identitytoken' due config loading
See original GitHub issueHello, we got the issue, using latest version of “docker-java” while trying to load and parse DOCKER configuration file (“$HOME/.docker/config.json
”).
It doesn’t accept the field ‘identitytoken
’. I have noticed that you have ‘registrytoken
’ field, which have been used since DOCKER API v1.22 version for the same purpose. I checked documentation, it was renamed there into --> ‘identytoken
’ just in the next DOCKER API v1.23 version.
Here is some stacktrace for more detailed info:
Caused by: java.lang.IllegalArgumentException: Unrecognized field "identitytoken" (class com.github.dockerjava.api.model.AuthConfig), not marked as ignorable (6 known properties: "serveraddress", "username", "auth", "password", "email", "registrytoken"])
at [Source: N/A; line: -1, column: -1] (through reference chain: java.util.LinkedHashMap["auths"]->java.util.LinkedHashMap["hostname"]->com.github.dockerjava.api.model.AuthConfig["identitytoken"])
at com.fasterxml.jackson.databind.ObjectMapper._convert(ObjectMapper.java:3589)
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3530)
at com.fasterxml.jackson.databind.ObjectMapper.convertValue(ObjectMapper.java:3518)
at com.github.dockerjava.core.AuthConfigFile.loadConfig(AuthConfigFile.java:120)
Looks, that should be enough to just rename ‘@JsonProperty("identitytoken")
’.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:6
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Execution failed for task ':buildDB2BotcImage' - Stack Overflow
Your problem is most likely related to Issue #921 of the docker-java project. Hello, we got the issue, using latest version of "docker-java" ......
Read more >gcloud auth login | Google Cloud CLI Documentation
2. Copy the long command that begins with gcloud auth login --remote-bootstrap=" . 3. Paste and run this command on the command line...
Read more >Red Hat JBoss Enterprise Application Platform 7.0.0.GA
... net.shibboleth.utilities.java.support.velocity · net.shibboleth.utilities.java.support.xml · org.apache.activemq.artemis.api.config ...
Read more >CHANGELOG.md - hashicorp/vault - Sourcegraph
auth/cert: Vault does not initially load the CRLs in cert auth unless the read/write ... information from the auto-auth config map on renewals...
Read more >Artix Security Guide, C++ - Micro Focus
Example 2: Extract from the Secure Server HTTPS Configuration ... 2. The orb_plugins list specifies which Artix plug-ins to load as.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
released 3.1.0-rc-5 should be on maven repos tomorrow
any updates on this? i am hitting the same issue