Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] command pouch inspect does not output an array #1071

Closed
yyb196 opened this issue Apr 8, 2018 · 3 comments · Fixed by #1119
Closed

[bug] command pouch inspect does not output an array #1071

yyb196 opened this issue Apr 8, 2018 · 3 comments · Fixed by #1119
Labels
areas/cli kind/bug This is bug report for project

Comments

@yyb196
Copy link
Collaborator

yyb196 commented Apr 8, 2018

Ⅰ. Issue Description

command pouch inspect does not output an array, output a map struct instread. which make stale orchastration system(like swarm) cannot correctlty unmarshal the response of api /containers/xxxx/json.

Ⅱ. Describe what happened

Ⅲ. Describe what you expected to happen

Ⅳ. How to reproduce it (as minimally and precisely as possible)

Ⅴ. Anything else we need to know?

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label Apr 8, 2018
@allencloud allencloud changed the title [bug] pouch inspect does not output an array [bug] command pouch inspect does not output an array Apr 8, 2018
@allencloud
Copy link
Collaborator

Thanks for the feedback. Actually you are right. It is an incompatibility with docker cli. However it is a client side incompatibility rather than API side.

Will fix it soon. @yyb196

@yyb196
Copy link
Collaborator Author

yyb196 commented Apr 9, 2018

@allencloud you are right, it's only on the client side.

@allencloud
Copy link
Collaborator

@faycheng Could you help finish this feature? inspect related feature is implemented by you. It could not be better if you help to make inspect output an array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/cli kind/bug This is bug report for project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants