Skip to content

Instantly share code, notes, and snippets.

View joao-pinheiro's full-sized avatar

Joao Pinheiro joao-pinheiro

View GitHub Profile

Podman Cheatsheet

This cheat sheet covers the commands used for working with Podman, a popular tool for managing containers. Podman commands are mostly compatible with Docker. As stated on the Podman landing page, "Podman is a daemonless, open source, Linux native tool designed to make it easy to find, run, build, share and deploy applications using Open Containers Initiative (OCI) Containers and Container Images."

Image repositories

# List all local images
podman images
# Remove (forced) a local image from the local cache
@joao-pinheiro
joao-pinheiro / blocklist.sh
Created April 9, 2024 14:59 — forked from mudge/blocklist.sh
A Bash script to generate an Unbound configuration to block all domains on The Firebog's "The Big Blocklist Collection" and allow all domains on Anudeep's list
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# Download all ticked blocklists from The Firebog's "The Big Blocklist
# Collection" [0] and block access to them with Unbound by redirecting traffic
# to 0.0.0.0.
#
# [0]: https://firebog.net
(