Skip to content

Host architecture and operating system type ouput as part of 'info' api call #13634

@bpradipt

Description

@bpradipt

With docker engine able to run on multiple architectures now, it will be useful to return the engine host architecture as part of the 'info' api.

Additionally the 'Operating System:' o/p returns the distribution type for Linux like 'Ubuntu 14.10' etc. and not really the operating system type eg. Linux, Windows etc. Providing the operating system type explicitly as part of the 'Info' will be useful when managing a multi-arch/os swarm cluster.

I would like to get some thoughts on the following options, based on which I'll submit the relevant PRs

  1. Add a new 'Architecture' field to 'Info' struct to display the platform arch (runtime.GOARCH)
  2. Add a new 'Operating System Type' field to 'Info' struct (runtime.GOOS)
  3. Add a new 'Platform' field to 'Info' struct to display both Architecture and Operating System type.
  4. Any other suggestions

Thanks

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