Closed raefko closed 3 months ago
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
As of version 1.24, the one-shot parameter was not introduced. Please check with version 1.41 or later. https://docs.docker.com/engine/api/v1.24/#get-container-stats-based-on-resource-usage
dockworker: stats のPR対応
After some test i found that
disable stream and enable one-shot and that
do the opposite, so I fixed the endpoint