Skip to content

Instantly share code, notes, and snippets.

@willdurand
willdurand / pull.sh
Created June 6, 2022 22:34
A script to download (pull) public OCI images from the Docker registry (v2)
#!/usr/bin/env bash
# Licensed under the MIT License - https://github.com/willdurand
set -euo pipefail
BASE_DIR="${BASE_DIR:-.}"
file_created() {
echo "[+] $1"
}

Keybase proof

I hereby claim:

  • I am willdurand on github.
  • I am willdurand (https://keybase.io/willdurand) on keybase.
  • I have a public key whose fingerprint is 360F C13E 94C9 DB07 F859 80AA A509 BCF1 C127 4F3B

To claim this, I am signing this object: