Skip to content

Instantly share code, notes, and snippets.

Avatar

Igor Serko iserko

View GitHub Profile
View remove-orphan-images.sh
#!/bin/bash
# apt-get install jq
#set -eu
shopt -s nullglob
readonly base_dir=$1
if [ -z "$base_dir" ] ; then
echo 'please location docker registry store location!';
exit;
fi