cadvisor">cAdvisor is an open-source tool that provides container resource usage and performance analysis. In this tutorial, we will show you how to install cAdvisor on macOS.
Before we start, you need to have the following prerequisites:
To install cAdvisor on Docker, follow the below steps:
sudo docker pull google/cadvisor
To run cAdvisor docker container, follow the below steps:
sudo docker run \
--volume=/:/rootfs:ro \
--volume=/var/run:/var/run:rw \
--volume=/sys:/sys:ro \
--volume=/var/lib/docker/:/var/lib/docker:ro \
--publish=8080:8080 \
--detach=true \
--name=cadvisor \
google/cadvisor:latest
sudo docker ps
You should see the cAdvisor container listed in the output.
To access the cAdvisor WebUI, follow the below steps:
http://localhost:8080
in the address bar and hit enter.Congratulations! You have successfully installed and accessed cAdvisor on macOS.
In this tutorial, we have shown you how to install cAdvisor on macOS. cAdvisor is a useful tool for monitoring container resources and performance, and can be easily installed on Docker.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!