Last active
December 6, 2025 14:15
-
-
Save NotYusta/62eacda30ba0dfdfe600fde9ddfb4927 to your computer and use it in GitHub Desktop.
update_cadvisor
This file contains hidden or 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/sh | |
| set -e | |
| # Disable and stop current cadvisor | |
| systemctl disable --now cadvisor | |
| # Download cadvisor v0.54.1 binary | |
| curl -sLo /usr/local/bin/cadvisor https://github.com/google/cadvisor/releases/download/v0.54.1/cadvisor-v0.54.1-linux-amd64 | |
| # Make it executable | |
| chmod +x /usr/local/bin/cadvisor | |
| # Enable and start service again | |
| systemctl enable --now cadvisor | |
| echo "updated cadvisor" | |
| cadvisor --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment