dockworker icon indicating copy to clipboard operation
dockworker copied to clipboard

fix containers/{id}/stats

Open raefko opened this issue 2 years ago • 0 comments

After some test i found that

curl --unix-socket /var/run/docker.sock http:/v1.24/containers/ad31ebf6f8b1c13e9fd725eaefc53225defe5bc7cd4dffdff486dc5be673a64f/stats?stream

disable stream and enable one-shot and that

curl --unix-socket /var/run/docker.sock http:/v1.24/containers/ad31ebf6f8b1c13e9fd725eaefc53225defe5bc7cd4dffdff486dc5be673a64f/stats?one-shot

do the opposite, so I fixed the endpoint

raefko avatar Apr 30 '24 15:04 raefko