-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
I'm attempting to use the library to inspect an image with Docker 1.11.1 on CentOS and I'm seeing the following exception. This is working on my Mac with the Docker for Mac Beta. Looks like the major difference between the two environments is aufs is disabled on CentOS, so it's using the overlay fs.
Caused by: com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "RootDir" (class com.github.dockerjava.api.command.GraphData), not marked as ignorable (3 known properties: "DeviceId", "DeviceSize", "DeviceName"])
at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@7d27fad0; line: 1, column: 1597](through reference chain: com.github.dockerjava.api.command.InspectImageResponse["GraphDriver"]->com.github.dockerjava.api.command.GraphDriver["Data"]->com.github.dockerjava.api.command.GraphData["RootDir"])
I'm happy to submit a PR with additional fields added to the GraphData object if you'd like.