docs: API: update "/containers/{id}/stats" description and examples for cgroups v2 #43810
Labels
area/api
area/cgroup2
cgroup v2
area/docs
exp/beginner
kind/enhancement
Enhancements are not bugs or new features but can improve usability or performance.
Docker Engine API - Incorrect reporting Memory_stats.stats["cache"] not avaliable
Description
Docker engine api not reporting the correct details in
container/{{id}}/stats
reporting json:memory.stats
is meant to havecache
but doesn't. It could labled asanon
Reproduce
Expected behavior
When sending a GET request to
containers/{{id}}/stats
there is expected to be the following"cache"
field on thememory_stats
field.as defined in https://docs.docker.com/engine/api/v1.41/#tag/Container/operation/ContainerStats
I have tested it on linux and the reponse is correct as the api. On mac however the response is invalid
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: