Skip to content

Instantly share code, notes, and snippets.

@KoenDG
KoenDG / gist:bad6f320278b8ff809f54ca15a583532
Created February 25, 2019 20:49
Getting all docker hub tags for an image. Debian example
wget -q https://registry.hub.docker.com/v1/repositories/debian/tags -O - | sed -e 's/[][]//g' -e 's/"//g' -e 's/ //g' | tr '}' '\n' | awk -F: '{print $3}'
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
iatest=$(expr index "$-" i)
# Disable the bell
if [[ $iatest > 0 ]]; then bind "set bell-style visible"; fi
# Ignore case on auto-completion