Created
February 18, 2016 00:14
-
-
Save curtismitchell/ac1c9a6d81df1f288b36 to your computer and use it in GitHub Desktop.
Get CAdvisor running on Fedora
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo docker run \ | |
--volume=/:/rootfs:ro \ | |
--volume=/var/run:/var/run:rw \ | |
--volume=/sys:/sys:ro \ | |
--volume=/var/lib/docker/:/var/lib/docker:ro \ | |
--volume=/cgroup:/cgroup:ro \ | |
--publish=8080:8080 \ | |
--detach=true \ | |
--name=cadvisor \ | |
--privileged=true \ | |
google/cadvisor:latest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment