Skip to content

inspectContainerCmd compatible with docker-swarm #546

Description

@qingmo

after compare restful api of docker and swarm. the only difference is in
{
...
"Node": {
"ID": "ZN3S:DPLW:2PXV:KIL7:2ARF:IH4P:T4SD:CI3D:XW2Z:3BPH:SB6I:3XMC",
"IP": "10.5.5.54",
"Addr": "10.5.5.54:2375",
"Name": "lab54",
"Cpus": 4,
"Memory": 8083677184,
"Labels": {
"executiondriver": "native-0.2",
"kernelversion": "3.10.0-327.10.1.el7.x86_64",
"operatingsystem": "CentOS Linux 7 (Core)",
"storagedriver": "devicemapper"
}
},
...
}

can i implement those json property by myself in com.github.dockerjava.api.command.InspectContainerResponse just like inner class Mount. then make a pull request?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions