May 2019
Intermediate to advanced
442 pages
11h 36m
English
When launching cAdvisor as a container, some host paths are required to be available in read-only mode. This will allow, for example, the collection of kernels, processes, and container data.
There are quite a few runtime flags, so we'll feature some of the most relevant for our test case in the following table:
|
Flag |
Description |
|
--docker |
Docker endpoint, defaults to unix:///var/run/docker.sock |
|
--docker_only |
Only report containers in addition to root stats |
|
--listen_ip |
IP to bind on, default to 0.0.0.0 |
|
--port |
Port to listen on, defaults to 8080 |
|
--storage_duration |
How long to store data, defaults to 2m0s |
Read now
Unlock full access