Skip to content

Instantly share code, notes, and snippets.

@mikroskeem
mikroskeem / cadvisor.sh
Last active June 15, 2025 19:22
cadvisor with podman
#!/bin/sh
VERSION=v0.36.0 # use the latest release version from https://github.com/google/cadvisor/releases
sudo podman run -d --name cadvisor \
--volume /:/rootfs:ro \
--volume /nix:/nix:ro \
--volume /var/run:/var/run:rw \
--volume /sys:/sys:ro \
--volume /sys/fs/cgroup:/sys/fs/cgroup:ro \
--volume /dev/disk/:/dev/disk:ro \
@ofhouse
ofhouse / install-java-versions.md
Created October 13, 2020 15:16
Install and manage multiple Java SDK versions on Ubuntu

Install and manage multiple Java versions on Ubuntu

This guide shows per example the installation of the Java SDK versions 8 (LTS, already installed) and 11 (LTS).

1. Check which Java versions are avaialable or already installed

apt --names-only search "openjdk-.*jre$"

> Sorting... Done