CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ee1b9443812d gcr.io/cadvisor/cadvisor-amd64:v0.49.1 "/usr/bin/cadvisor -…" 2 minutes ago Up 2 minutes (unhealthy) cadvisor
user@server1.local:~$ curl http://localhost:8080/metrics -vvv
* Trying 127.0.0.1:8080...
* TCP_NODELAY set
* connect to 127.0.0.1 port 8080 failed: Connection refused
* Trying 127.0.0.1:8080...
* TCP_NODELAY set
* connect to 127.0.0.1 port 8080 failed: Connection refused
* Failed to connect to localhost port 8080: Connection refused
* Closing connection 0
curl: (7) Failed to connect to localhost port 8080: Connection refused
user@server1.local:~$ ss -tulpn | grep 8080
user@server1.local:~$ docker -v
Docker version 20.10.5, build 55c4c88
user@server1.local:~$ uname -a
Linux trans1.itc 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
I am trying to run cAdvisor in Docker container, but every time 2 minutes after creating container is up, but state is unhealthy.
This are all logs I am getting:
I also tried to run cAdvisor without container, but result is the same.