Docker Community Forums

Share and learn in the Docker community.

Docker Daemon Targeting

Hey everyone,
I am currently running Docker 17.03.2-ce, build f5ec1e2 on Ubuntu 16.04.3 LTS. I am working on a project to collect the CPU statistics from a docker container running an HTTP Web Server. I am using a command like this:

curl --unix-socket /var/run/docker.sock URL HERE

I do not know what to target in the URL to find the daemon. My results when I use the IP of my webserver are only network statistics and I need the CPU Percentage and CPU stats.

Could someone help me with docker daemon details. Thank you!