introduce /images/json?containers=true parameter#43350
introduce /images/json?containers=true parameter#43350ndeloof wants to merge 2 commits intomoby:masterfrom
Conversation
|
I think the reason that field was not filled was because this field was added specifically for the We should look how useful it is to add this information to The main issue in , however, looks to be due to the moby/api/types/image_summary.go Line 8 in 7b9275c |
|
oh! there's a typo in your commit message ( |
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
|
92f389b to
8d92f7f
Compare
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
** Make sure all your commits include a signature generated with
git commit -s**close #43244
- What I did
Restored the ability to list number of containers using an image with /images/json API
- How I did it
introduced new parameter
containersto trigger (pre-existing) counting logic- How to verify it
curl http://localhost:2375/v1.41/images/json?containers=true | jq
- Description for the changelog
GET /images/jsonnow accepts query parameterscontainersto count containers using each image