dockworker
dockworker copied to clipboard
fix containers/{id}/stats
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