X Tutup
Skip to content

Issue with docker-java on CentOS #584

@jrrickard

Description

@jrrickard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup