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

[apiv2] /containers/$name/json return wrong value in .Config.StopSignal #7917

Closed
zhangguanzhang opened this issue Oct 5, 2020 · 0 comments · Fixed by #7918
Closed

[apiv2] /containers/$name/json return wrong value in .Config.StopSignal #7917

zhangguanzhang opened this issue Oct 5, 2020 · 0 comments · Fixed by #7918
Assignees
Labels
HTTP API Bug is in RESTful API locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.

Comments

@zhangguanzhang
Copy link
Collaborator

zhangguanzhang commented Oct 5, 2020

$ curl -s -X POST \
  -d '{"Image":"docker.io/library/redis:alpine","StopSignal":"9"}' \
  -H 'Content-type: application/json'  \
  http://localhost:8081/v1.40/containers/create
{"Id":"7bdf4eb5b6c44efef3846acb82109aaa45b524c2b66be7a46cdd066b5393b8c9","Warnings":[]}
$ curl -s http://localhost:8081/v1.40/containers/7bdf4eb5b6c44efef3846acb82109aaa45b524c2b66be7a46cdd066b5393b8c9/json |  \
   jq .Config.StopSignal
"\t"
@zhangguanzhang zhangguanzhang added the HTTP API Bug is in RESTful API label Oct 5, 2020
@zhangguanzhang zhangguanzhang self-assigned this Oct 5, 2020
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 22, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
HTTP API Bug is in RESTful API locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant