Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

io.fabric8.docker.api.model.DockerConfig["stackOrchestrator"]) #112

Open
m0schaefer opened this issue Sep 20, 2018 · 1 comment
Open

io.fabric8.docker.api.model.DockerConfig["stackOrchestrator"]) #112

m0schaefer opened this issue Sep 20, 2018 · 1 comment

Comments

@m0schaefer
Copy link

With docker-client 1.3.1 and docker for windows (Server Version: 18.06.1-ce) I observe this error:

ERROR io.fabric8.docker.client.Config - Could not load docker config file from D:\Users\axiaz.docker\config.json
com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "stackOrchestrator" (class io.fabric8.docker.api.model.DockerConfig), not marked as ignorable (one known property: "auths"])
at [Source: D:\Users\axiaz.docker\config.json; line: 3, column: 25] (through reference chain: io.fabric8.docker.api.model.DockerConfig["stackOrchestrator"])
at com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException.from(UnrecognizedPropertyException.java:51)
at com.fasterxml.jackson.databind.DeserializationContext.reportUnknownProperty(DeserializationContext.java:839)
at com.fasterxml.jackson.databind.deser.std.StdDeserializer.handleUnknownProperty(StdDeserializer.java:1045)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownProperty(BeanDeserializerBase.java:1352)
at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handleUnknownVanilla(BeanDeserializerBase.java:1330)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:264)
at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:125)
at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2620)
at io.fabric8.docker.client.Config.tryDockerConfig(Config.java:223)
at io.fabric8.docker.client.Config.(Config.java:119)
at io.fabric8.docker.client.Config.(Config.java:125)
at io.fabric8.docker.client.EditableConfig.(EditableConfig.java:15)
at io.fabric8.docker.client.ConfigBuilder.build(ConfigBuilder.java:86)

config.json:
{
"auths": {},
"stackOrchestrator": "swarm"
}

@m0schaefer
Copy link
Author

Same issues as #106

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant